Hyprland-dotfiles/scripts/snapshot.sh
2023-02-20 12:42:39 +01:00

9 lines
199 B
Bash
Executable File

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