Use omarchy-chromium-bin to give live theme changes

This commit is contained in:
David Heinemeier Hansson
2025-08-14 14:46:59 +02:00
parent a9d70e6879
commit bf49a86e98
14 changed files with 44 additions and 1 deletions

View File

@@ -39,6 +39,14 @@ else
gsettings set org.gnome.desktop.interface icon-theme "Yaru-blue"
fi
# Change Chromium colors
if [[ -f ~/.config/omarchy/current/theme/chromium.theme ]] && command -v chromium &>/dev/null; then
chromium --no-startup-window --set-theme-color="$(<~/.config/omarchy/current/theme/chromium.theme)"
else
# Use a default, neutral grey if theme doesn't have a color
chromium --no-startup-window --set-theme-color="28,32,39"
fi
# Trigger alacritty config reload
touch "$HOME/.config/alacritty/alacritty.toml"