Hyprland-dotfiles/sddm/scripts/disable.sh
Stephan Raabe bc72d070fa Update
2024-02-19 21:32:23 +01:00

13 lines
395 B
Bash
Executable File

#!/bin/bash
figlet "Disable SDDM"
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
echo ":: Current display manager removed."
echo ":: Please reboot your system."
fi
else
echo ":: No Display Manager enabled."
fi
sleep 3