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!"