bugfix
This commit is contained in:
@@ -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
|
echo -e "[ifupdown]\nmanaged=true" | sudo tee -a /etc/NetworkManager/NetworkManager.conf
|
||||||
sudo systemctl restart NetworkManager
|
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
|
# XFCE-specific configuration
|
||||||
########################################
|
########################################
|
||||||
@@ -79,6 +66,19 @@ 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..."
|
||||||
|
|
||||||
|
# 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
|
# Set Chromium as default browser
|
||||||
########################################
|
########################################
|
||||||
@@ -118,8 +118,7 @@ EOF
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
say_green "Chromium set as default browser and Alacritty set as default terminal."
|
say_green "Chromium set as default browser and Alacritty set as default terminal."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
# End of script
|
# End of script
|
||||||
say_green "Full setup completed."
|
say_green "Full setup completed."
|
||||||
|
|||||||
Reference in New Issue
Block a user