installer: avoid gsettings in chrooted installs
This commit is contained in:
@@ -3,6 +3,13 @@
|
|||||||
# omarchy:summary=Apply the current theme to GNOME color mode and icon settings
|
# omarchy:summary=Apply the current theme to GNOME color mode and icon settings
|
||||||
# omarchy:hidden=true
|
# 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
|
THEME_DIR=~/.config/omarchy/current/theme
|
||||||
COLORS_FILE="$THEME_DIR/colors.toml"
|
COLORS_FILE="$THEME_DIR/colors.toml"
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
# Run before limine-snapper.sh so the resume hook + cmdline drop-ins are in
|
# Run before limine-snapper.sh so the resume hook + cmdline drop-ins are in
|
||||||
# place when `pacman -S limine-mkinitcpio-hook` triggers its single full UKI
|
# place before limine-snapper performs the final Limine UKI build. The
|
||||||
# rebuild. The --no-rebuild flag tells the script to skip its own rebuild —
|
# --no-rebuild flag tells hibernation setup to only write config here.
|
||||||
# limine-snapper's pacman install will produce a UKI that already includes
|
|
||||||
# hibernation.
|
|
||||||
omarchy-hibernation-setup --force --no-rebuild
|
omarchy-hibernation-setup --force --no-rebuild
|
||||||
|
|||||||
Reference in New Issue
Block a user