mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
Add Chrome and Brave browser policy support for theme colors (#1251)
* Add Chrome and Brave browser policy support for theme colors Replace chromium --set-theme-color commands with managed policies - Add RGB to hex conversion function - Create /etc/chromium/policies/managed/color.json for Chrome - Create /etc/brave/policies/managed/color.json for Brave - Remove deprecated chromium command line theme setting * force reload * remove sudo * renamed flag due to code review on google side * Add the required directories * Cleanup * Slim down * Unnecessary --------- Co-authored-by: David Heinemeier Hansson <david@hey.com>
This commit is contained in:
@@ -19,3 +19,10 @@ ln -snf ~/.config/omarchy/current/theme/btop.theme ~/.config/btop/themes/current
|
||||
|
||||
mkdir -p ~/.config/mako
|
||||
ln -snf ~/.config/omarchy/current/theme/mako.ini ~/.config/mako/config
|
||||
|
||||
# Add managed policy directories for Chromium and Brave for theme changes
|
||||
sudo mkdir -p /etc/chromium/policies/managed
|
||||
sudo chmod a+rw /etc/chromium/policies/managed
|
||||
|
||||
sudo mkdir -p /etc/brave/policies/managed
|
||||
sudo chmod a+rw /etc/brave/policies/managed
|
||||
|
||||
Reference in New Issue
Block a user