installer: avoid gsettings in chrooted installs

This commit is contained in:
Ryan Hughes
2026-06-04 18:35:01 -04:00
parent 74aaff5ed3
commit 2bf3315719
2 changed files with 9 additions and 4 deletions
+7
View File
@@ -3,6 +3,13 @@
# omarchy:summary=Apply the current theme to GNOME color mode and icon settings
# omarchy:hidden=true
# gsettings needs a user DBus session. During ISO installs this command can be
# reached from arch-chroot while applying the initial Omarchy theme; defer until
# the user has a real session instead of emitting dconf warnings.
if [[ -z ${DBUS_SESSION_BUS_ADDRESS:-} ]]; then
exit 0
fi
THEME_DIR=~/.config/omarchy/current/theme
COLORS_FILE="$THEME_DIR/colors.toml"