Cache warming

This commit is contained in:
David Heinemeier Hansson authored and Ryan Hughes committed 2026-05-11 15:29:31 -04:00
1 parent b48f67058b
commit 0426f9b206
3 files changed
+25 -3

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
#!/bin/bash
# omarchy:summary=Cache background switcher thumbnails for the current theme
theme_name=$(cat "$HOME/.config/omarchy/current/theme.name" 2>/dev/null)
omarchy-menu-images \
--cache-only \
"$HOME/.config/omarchy/current/theme/backgrounds" \
"$HOME/.config/omarchy/backgrounds/$theme_name"