Add different themes

This commit is contained in:
David Heinemeier Hansson
2025-06-18 21:17:59 +02:00
parent 0269ee55d9
commit e09c0477aa
20 changed files with 362 additions and 113 deletions

View File

@ -2,7 +2,7 @@
# Cycles through the background images available
BACKGROUNDS_DIR="$HOME/.local/share/backgrounds"
BACKGROUNDS_DIR="$HOME/.config/omarchy/current-backgrounds/"
NEXT_BACKGROUND_FILE="$HOME/.cache/next_background_index"
BACKGROUNDS=($(find "$BACKGROUNDS_DIR" -type f | sort))
@ -15,7 +15,7 @@ else
fi
# Save next index (wrap around)
echo "$(( (INDEX + 1) % TOTAL ))" > "$NEXT_BACKGROUND_FILE"
echo "$(((INDEX + 1) % TOTAL))" >"$NEXT_BACKGROUND_FILE"
# Launch swaybg
pkill -x swaybg