diff --git a/v2/debian-full.sh b/v2/debian-full.sh index ddf74c8..217dab0 100755 --- a/v2/debian-full.sh +++ b/v2/debian-full.sh @@ -59,19 +59,6 @@ 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 -# 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 - # Interface font (UI) - xfconf-query -c xsettings -p /Gtk/FontName -s "RobotoMono Nerd Font Regular 10" - # Monospace font (terminals, editors) - xfconf-query -c xsettings -p /Gtk/MonospaceFontName -s "RobotoMono Nerd Font Mono Regular 10" - - say_green "XFCE fonts updated successfully!" -else - say_yellow "xfconf-query not found — skipping XFCE font config (will apply at first login)." -fi - ######################################## # XFCE-specific configuration ######################################## @@ -79,6 +66,19 @@ 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 + # Interface font (UI) + xfconf-query -c xsettings -p /Gtk/FontName -s "RobotoMono Nerd Font Regular 10" + # Monospace font (terminals, editors) + xfconf-query -c xsettings -p /Gtk/MonospaceFontName -s "RobotoMono Nerd Font Mono Regular 10" + + say_green "XFCE fonts updated successfully!" + else + say_yellow "xfconf-query not found — skipping XFCE font config (will apply at first login)." + fi + ######################################## # Set Chromium as default browser ######################################## @@ -118,8 +118,7 @@ EOF fi say_green "Chromium set as default browser and Alacritty set as default terminal." -fi - + fi # End of script say_green "Full setup completed."