diff --git a/v2/debian-chadwm.sh b/v2/debian-chadwm.sh index db789ca..5c1d458 100755 --- a/v2/debian-chadwm.sh +++ b/v2/debian-chadwm.sh @@ -40,6 +40,9 @@ color_reset echo "DE: $DE, TWM: $TWM, Install Level: $INSTALL_LEVEL" echo +# End of script +color_green; echo "Chadwm setup completed."; color_reset + # Pause read -n 1 -s -r -p "Press any key to continue" echo diff --git a/v2/debian-full.sh b/v2/debian-full.sh index c7f54d3..7480b95 100755 --- a/v2/debian-full.sh +++ b/v2/debian-full.sh @@ -29,4 +29,17 @@ bash "$SCRIPT_DIR/debian-minimal.sh" # Add extra packages install_packages arandr catfish galculator network-manager network-manager-applet network-manager-openvpn numlockx pavucontrol playerctl gparted + +# Ensure NetworkManager manages all interfaces +echo "Setting NetworkManager to manage all interfaces..." +sudo cp /etc/network/interfaces /etc/network/interfaces.bak.$(date +%s) +sudo tee /etc/network/interfaces > /dev/null <<'EOF' +auto lo +iface lo inet loopback +EOF +sudo sed -i 's/^managed=.*/managed=true/' /etc/NetworkManager/NetworkManager.conf || \ + echo -e "[ifupdown]\nmanaged=true" | sudo tee -a /etc/NetworkManager/NetworkManager.conf +sudo systemctl restart NetworkManager + +# End of script color_green; echo "Full setup completed."; color_reset diff --git a/v2/debian-hyprland.sh b/v2/debian-hyprland.sh index 535e540..88d0726 100755 --- a/v2/debian-hyprland.sh +++ b/v2/debian-hyprland.sh @@ -26,6 +26,8 @@ color_yellow; echo "Starting hyprland setup..."; color_reset # Optionally add hyprland-specific packages here #install_packages ???? + +# End of script color_green; echo "hyprland setup completed."; color_reset # Pause diff --git a/v2/debian-minimal.sh b/v2/debian-minimal.sh index 1dc9e4c..17e9013 100755 --- a/v2/debian-minimal.sh +++ b/v2/debian-minimal.sh @@ -45,4 +45,5 @@ fc-cache -fv sudo systemctl enable chrony sudo systemctl enable fstrim.timer +# End of script color_green; echo "Minimal setup completed."; color_reset \ No newline at end of file diff --git a/v2/debian-server.sh b/v2/debian-server.sh index b1c6529..702c920 100755 --- a/v2/debian-server.sh +++ b/v2/debian-server.sh @@ -26,6 +26,8 @@ color_yellow; echo "Starting Server setup..."; color_reset # Optionally add Server-specific packages here install_packages linux-headers-$(uname -r) + +# End of script color_green; echo "Server setup completed."; color_reset # Pause diff --git a/v2/debian-workstation.sh b/v2/debian-workstation.sh index 0461641..5d50733 100755 --- a/v2/debian-workstation.sh +++ b/v2/debian-workstation.sh @@ -29,6 +29,8 @@ bash "$SCRIPT_DIR/debian-full.sh" # Optionally add workstation-specific packages here install_packages git vlc libreoffice + +# End of script color_green; echo "Workstation setup completed."; color_reset # Pause diff --git a/v2/debian-xfce.sh b/v2/debian-xfce.sh index 17a6bb1..669f034 100755 --- a/v2/debian-xfce.sh +++ b/v2/debian-xfce.sh @@ -124,6 +124,5 @@ else fi fi -# Pause -read -n 1 -s -r -p "Press any key to continue" -echo \ No newline at end of file +# End of script +color_green; echo "XFCE / SDDM setup completed."; color_reset \ No newline at end of file