2023-12-20 11:46:07 +01:00
|
|
|
#!/bin/bash
|
2024-02-19 18:14:24 +01:00
|
|
|
figlet "Disable SDDM"
|
2023-12-20 11:46:07 +01:00
|
|
|
if [ -f /etc/systemd/system/display-manager.service ]; then
|
|
|
|
if gum confirm "Do you want to disable the current display manager?" ;then
|
|
|
|
sudo rm /etc/systemd/system/display-manager.service
|
2024-02-19 21:32:23 +01:00
|
|
|
echo ":: Current display manager removed."
|
|
|
|
echo ":: Please reboot your system."
|
2023-12-20 11:46:07 +01:00
|
|
|
fi
|
|
|
|
else
|
2024-02-19 21:32:23 +01:00
|
|
|
echo ":: No Display Manager enabled."
|
2023-12-20 11:46:07 +01:00
|
|
|
fi
|
2024-02-19 18:14:24 +01:00
|
|
|
sleep 3
|