Keep the explanation for the Chromium color scheme defaults

The comment above the seed was the only thing recording that color_scheme and color_scheme2 are both zero in order to follow system appearance rather than force dark. Generalizing it to "first-run defaults" left two magic numbers with nothing to explain them, so the next person touching an unrelated first-run setting has no way to tell that changing them regresses theme following. Name both things the seed does.

Co-Authored-By: Codex XHigh <noreply@openai.com>
This commit is contained in:
David Heinemeier Hansson
2026-08-29 17:13:06 +02:00
co-authored by Codex XHigh
parent eb76684c60
commit e9ba17e52e
+2 -1
View File
@@ -10,7 +10,8 @@ gtk-update-icon-cache /usr/share/icons/Yaru &>/dev/null || true
mkdir -p /etc/chromium/policies/managed
chmod a+rw /etc/chromium/policies/managed
# Set Chromium first-run defaults
# Seed Chromium's first run: follow system appearance ("device") instead of dark,
# and skip the terms-of-service dialog Chromium 151 turned on by default.
mkdir -p /usr/lib/chromium
echo '{"distribution":{"require_eula":false},"browser":{"theme":{"color_scheme":0,"color_scheme2":0}}}' > \
/usr/lib/chromium/initial_preferences