bugfix
This commit is contained in:
@@ -66,6 +66,12 @@ if [[ "${DE}" == "xfce" || "${DDE}" == "xfce" ]]; then
|
||||
echo
|
||||
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
|
||||
# Wait for xfconf to be available (only needed if running inside the same session)
|
||||
if command -v xfconf-query >/dev/null 2>&1; then
|
||||
@@ -78,6 +84,12 @@ if [[ "${DE}" == "xfce" || "${DDE}" == "xfce" ]]; then
|
||||
else
|
||||
say_yellow "xfconf-query not found — skipping XFCE font config (will apply at first login)."
|
||||
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
|
||||
|
||||
# End of script
|
||||
|
||||
Reference in New Issue
Block a user