Merge branch 'dev' into snapper-existing-configs

This commit is contained in:
michielryvers
2025-08-28 10:54:20 +02:00
committed by GitHub
43 changed files with 126 additions and 63 deletions

View File

@@ -16,12 +16,15 @@ case "$COMMAND" in
create)
DESC="$(omarchy-version)"
echo -e "\e[32mCreate system snapshot\e[0m"
# Get existing snapper config names from CSV output
mapfile -t CONFIGS < <(sudo snapper --csvout list-configs | awk -F, 'NR>1 {print $1}')
for config in "${CONFIGS[@]}"; do
sudo snapper -c "$config" create -c number -d "$DESC"
done
echo
;;
restore)
sudo limine-snapper-restore