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