Fix new references

This commit is contained in:
David Heinemeier Hansson
2025-09-15 19:04:11 +02:00
parent c072715ebe
commit c5d04e8e9c
2 changed files with 4 additions and 4 deletions

View File

@@ -3,8 +3,8 @@
CHROMIUM_THEME=~/.config/omarchy/current/theme/chromium.theme
if omarchy-cmd-present chromium || omarchy-cmd-present brave; then
if [[ -f CHROMIUM_THEME ]]; then
rgb=$(<CHROMIUM_THEME)
if [[ -f $CHROMIUM_THEME ]]; then
rgb=$(<$CHROMIUM_THEME)
THEME_HEX_COLOR=$(printf '#%02x%02x%02x' ${rgb//,/ })
else
# Use a default, neutral grey if theme doesn't have a color

View File

@@ -11,8 +11,8 @@ fi
# Change gnome icon theme color
GNOME_ICONS_THEME=~/.config/omarchy/current/theme/icons.theme
if [[ -f GNOME_ICONS_THEME ]]; then
gsettings set org.gnome.desktop.interface icon-theme "$(<GNOME_ICONS_THEME)"
if [[ -f $GNOME_ICONS_THEME ]]; then
gsettings set org.gnome.desktop.interface icon-theme "$(<$GNOME_ICONS_THEME)"
else
gsettings set org.gnome.desktop.interface icon-theme "Yaru-blue"
fi