hyprland-dotfiles/sddm/scripts/enable.sh

13 lines
391 B
Bash
Raw Permalink Normal View History

2024-02-19 17:14:24 +00:00
#!/bin/bash
figlet "Enable SDDM"
if [ -f /etc/systemd/system/display-manager.service ]; then
2024-02-19 20:32:23 +00:00
echo ":: Display Manager is already enabled."
2024-02-19 17:14:24 +00:00
else
if gum confirm "Do you want to enable SDDM as your display manager?" ;then
sudo systemctl enable sddm.service
2024-02-19 20:32:23 +00:00
echo ":: Display manager SDDM has been enabled."
echo ":: Please reboot your system!"
2024-02-19 17:14:24 +00:00
fi
fi
sleep 3