Add way to refresh theme from its templates (when they've changed)

This commit is contained in:
David Heinemeier Hansson
2026-02-09 22:58:58 +01:00
parent b072f643a4
commit 093ab830cf

9
bin/omarchy-theme-refresh Executable file
View File

@@ -0,0 +1,9 @@
#!/bin/bash
# Refresh the current theme from its templates.
THEME_NAME_PATH="$HOME/.config/omarchy/current/theme.name"
if [[ -f $THEME_NAME_PATH ]]; then
omarchy-theme-set "$(cat $THEME_NAME_PATH)"
fi