Compare commits

...

2 Commits

Author SHA1 Message Date
[1;13DDavid Heinemeier Hansson
9aff0d4b3b Note about consequences 2026-02-15 23:06:07 +01:00
David Heinemeier Hansson
bcd52fa289 Switch back to mainline chromium
We no longer need the fork, as the themeing is now fully natively
supported
2026-02-13 18:08:42 +01:00
3 changed files with 9 additions and 9 deletions

View File

@@ -13,14 +13,8 @@ if omarchy-cmd-present chromium || omarchy-cmd-present helium-browser || omarchy
fi
if omarchy-cmd-present chromium; then
rm -f /etc/chromium/policies/managed/color.json
chromium --no-startup-window --set-theme-color="$THEME_RGB_COLOR" >/dev/null
if [[ -f ~/.config/omarchy/current/theme/light.mode ]]; then
chromium --no-startup-window --set-color-scheme="light" >/dev/null
else
chromium --no-startup-window --set-color-scheme="dark" >/dev/null
fi
echo "{\"BrowserThemeColor\": \"$THEME_HEX_COLOR\"}" | tee "/etc/chromium/policies/managed/color.json" >/dev/null
chromium --refresh-platform-policy --no-startup-window >/dev/null
fi
if omarchy-cmd-present brave; then

View File

@@ -13,6 +13,7 @@ bluetui
bolt
brightnessctl
btop
chromium
clang
cups
cups-browsed
@@ -87,7 +88,6 @@ nss-mdns
nvim
obs-studio
obsidian
omarchy-chromium
omarchy-nvim
omarchy-walker
opencode

6
migrations/1769510847.sh Normal file
View File

@@ -0,0 +1,6 @@
echo "Switch back to mainline chromium now that it supports full live themeing"
echo "Note: This required resetting cookies and settings!"
omarchy-pkg-drop omarchy-chromium
omarchy-pkg-add chromium
omarchy-theme-set-browser