This commit is contained in:
[yuri]
2025-11-10 16:51:12 +01:00
parent 5774fb4ea9
commit 02b9c398fc

View File

@@ -59,6 +59,13 @@ sudo sed -i 's/^managed=.*/managed=true/' /etc/NetworkManager/NetworkManager.con
echo -e "[ifupdown]\nmanaged=true" | sudo tee -a /etc/NetworkManager/NetworkManager.conf
sudo systemctl restart NetworkManager
########################################
# XFCE-specific configuration
########################################
if [[ "${DE}" == "xfce" || "${DDE}" == "xfce" ]]; then
echo
say_cyan "Applying XFCE defaults: fonts, browser, and terminal..."
# 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
@@ -72,13 +79,6 @@ else
say_yellow "xfconf-query not found — skipping XFCE font config (will apply at first login)."
fi
########################################
# XFCE-specific configuration
########################################
if [[ "${DE}" == "xfce" || "${DDE}" == "xfce" ]]; then
echo
say_cyan "Applying XFCE defaults: fonts, browser, and terminal..."
########################################
# Set Chromium as default browser
########################################
@@ -120,6 +120,5 @@ EOF
say_green "Chromium set as default browser and Alacritty set as default terminal."
fi
# End of script
say_green "Full setup completed."