hyprland-dotfiles/sddm/scripts/enable.sh
Stephan Raabe cc5a6e7d4c Updates
2024-02-19 18:14:24 +01:00

12 lines
366 B
Bash
Executable File

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