mirror of
https://github.com/LukeHagar/omarchy.git
synced 2025-12-06 04:20:23 +00:00
Fix new references
This commit is contained in:
@@ -3,8 +3,8 @@
|
|||||||
CHROMIUM_THEME=~/.config/omarchy/current/theme/chromium.theme
|
CHROMIUM_THEME=~/.config/omarchy/current/theme/chromium.theme
|
||||||
|
|
||||||
if omarchy-cmd-present chromium || omarchy-cmd-present brave; then
|
if omarchy-cmd-present chromium || omarchy-cmd-present brave; then
|
||||||
if [[ -f CHROMIUM_THEME ]]; then
|
if [[ -f $CHROMIUM_THEME ]]; then
|
||||||
rgb=$(<CHROMIUM_THEME)
|
rgb=$(<$CHROMIUM_THEME)
|
||||||
THEME_HEX_COLOR=$(printf '#%02x%02x%02x' ${rgb//,/ })
|
THEME_HEX_COLOR=$(printf '#%02x%02x%02x' ${rgb//,/ })
|
||||||
else
|
else
|
||||||
# Use a default, neutral grey if theme doesn't have a color
|
# Use a default, neutral grey if theme doesn't have a color
|
||||||
|
|||||||
@@ -11,8 +11,8 @@ fi
|
|||||||
|
|
||||||
# Change gnome icon theme color
|
# Change gnome icon theme color
|
||||||
GNOME_ICONS_THEME=~/.config/omarchy/current/theme/icons.theme
|
GNOME_ICONS_THEME=~/.config/omarchy/current/theme/icons.theme
|
||||||
if [[ -f GNOME_ICONS_THEME ]]; then
|
if [[ -f $GNOME_ICONS_THEME ]]; then
|
||||||
gsettings set org.gnome.desktop.interface icon-theme "$(<GNOME_ICONS_THEME)"
|
gsettings set org.gnome.desktop.interface icon-theme "$(<$GNOME_ICONS_THEME)"
|
||||||
else
|
else
|
||||||
gsettings set org.gnome.desktop.interface icon-theme "Yaru-blue"
|
gsettings set org.gnome.desktop.interface icon-theme "Yaru-blue"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user