From e73171b4e641a75a0a58fa887662eda50ff965e8 Mon Sep 17 00:00:00 2001 From: Stephan Raabe Date: Thu, 13 Apr 2023 18:14:20 +0200 Subject: [PATCH] Updates --- .bashrc | 2 +- scripts/snapshot.sh | 16 ---------------- 2 files changed, 1 insertion(+), 17 deletions(-) delete mode 100755 scripts/snapshot.sh diff --git a/.bashrc b/.bashrc index f72e70c..4cd103d 100644 --- a/.bashrc +++ b/.bashrc @@ -29,7 +29,7 @@ alias shutdown='systemctl poweroff' alias v='nvim' alias r='ranger' alias t='sudo timeshift --list' -alias ts='~/dotfiles/scripts/snapshot.sh' +alias ts='~/snapshot.sh' alias matrix='cmatrix' alias shot='scrot -d 3 -c -z -u' alias shotsel='scrot -s' diff --git a/scripts/snapshot.sh b/scripts/snapshot.sh deleted file mode 100755 index 3996bff..0000000 --- a/scripts/snapshot.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/bash -# ____ _ _ -# / ___| _ __ __ _ _ __ ___| |__ ___ | |_ -# \___ \| '_ \ / _` | '_ \/ __| '_ \ / _ \| __| -# ___) | | | | (_| | |_) \__ \ | | | (_) | |_ -# |____/|_| |_|\__,_| .__/|___/_| |_|\___/ \__| -# |_| -# -# by Stephan Raabe (2023) -# ----------------------------------------------------- - -read -p "Enter a comment for the snapshot: " c -sudo timeshift --create --comments "$c" -sudo timeshift --list -sudo grub-mkconfig -o /boot/grub/grub.cfg -echo "DONE. Snapshot $c created!"