diff --git a/bin/omarchy-snapshot b/bin/omarchy-snapshot index b4d78f1..3813ef5 100755 --- a/bin/omarchy-snapshot +++ b/bin/omarchy-snapshot @@ -16,7 +16,10 @@ case "$COMMAND" in create) DESC="$(omarchy-version)" - for config in root home; do + # 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 ;;