mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
Switch back to mainline chromium
We no longer need the fork, as the themeing is now fully natively supported
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
5
migrations/1769510847.sh
Normal file
5
migrations/1769510847.sh
Normal file
@@ -0,0 +1,5 @@
|
||||
echo "Switch back to mainline chromium now that it supports full live themeing"
|
||||
|
||||
omarchy-pkg-drop omarchy-chromium
|
||||
omarchy-pkg-add chromium
|
||||
omarchy-theme-set-browser
|
||||
Reference in New Issue
Block a user