Hyprland-dotfiles/scripts/snapshot.sh

9 lines
199 B
Bash
Raw Normal View History

2023-02-20 06:42:39 -05:00
#!/bin/bash
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!"