This commit is contained in:
[yuri]
2025-11-10 17:03:05 +01:00
parent 748d78153c
commit ef92a28f66

View File

@@ -66,6 +66,12 @@ if [[ "${DE}" == "xfce" || "${DDE}" == "xfce" ]]; then
echo echo
say_cyan "Applying XFCE defaults: fonts, browser, and terminal..." say_cyan "Applying XFCE defaults: fonts, browser, and terminal..."
# Ensure xfconf-query exists (for XFCE settings)
if ! command -v xfconf-query >/dev/null 2>&1; then
echo "${YELLOW}xfconf-query not found — installing xfce4-settings...${RESET}"
install_packages xfce4-settings
fi
# set fonts # set fonts
# Wait for xfconf to be available (only needed if running inside the same session) # Wait for xfconf to be available (only needed if running inside the same session)
if command -v xfconf-query >/dev/null 2>&1; then if command -v xfconf-query >/dev/null 2>&1; then
@@ -78,6 +84,12 @@ if [[ "${DE}" == "xfce" || "${DDE}" == "xfce" ]]; then
else else
say_yellow "xfconf-query not found — skipping XFCE font config (will apply at first login)." say_yellow "xfconf-query not found — skipping XFCE font config (will apply at first login)."
fi fi
# Default Terminal = Alacritty
if command -v alacritty >/dev/null 2>&1; then
xfconf-query -c xfce4-session -p /sessions/Failsafe/Client0_Command -s alacritty --create -t string
xfconf-query -c xfce4-session -p /general/DefaultTerminal -s alacritty --create -t string
fi
fi fi
# End of script # End of script