Set device appearance as the default for chromium

So we will be switching correctly from light/dark mode depending on the
theme.
This commit is contained in:
David Heinemeier Hansson
2026-04-11 20:09:51 -04:00
parent 4fcc58de2a
commit 691b11901c
2 changed files with 12 additions and 0 deletions
+3
View File
@@ -22,3 +22,6 @@ sudo chmod a+rw /etc/chromium/policies/managed
sudo mkdir -p /etc/brave/policies/managed
sudo chmod a+rw /etc/brave/policies/managed
# Default Chromium to follow system appearance ("device") instead of dark
echo '{"browser":{"theme":{"color_scheme":0}}}' | sudo tee /usr/lib/chromium/initial_preferences >/dev/null