This commit is contained in:
Stephan Raabe 2023-04-13 18:14:20 +02:00
parent 96cba8dc08
commit e73171b4e6
2 changed files with 1 additions and 17 deletions

View File

@ -29,7 +29,7 @@ alias shutdown='systemctl poweroff'
alias v='nvim' alias v='nvim'
alias r='ranger' alias r='ranger'
alias t='sudo timeshift --list' alias t='sudo timeshift --list'
alias ts='~/dotfiles/scripts/snapshot.sh' alias ts='~/snapshot.sh'
alias matrix='cmatrix' alias matrix='cmatrix'
alias shot='scrot -d 3 -c -z -u' alias shot='scrot -d 3 -c -z -u'
alias shotsel='scrot -s' alias shotsel='scrot -s'

View File

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