Updates
This commit is contained in:
@@ -30,25 +30,25 @@ if [ ! -d ~/dotfiles ];then
|
||||
disman=0
|
||||
echo "You have already installed a display manager on your system."
|
||||
echo "How do you want to proceed?"
|
||||
dmsel=$(gum choose "Keep current setup" "Deactivate current display manager" "Install sddm")
|
||||
dmsel=$(gum choose "Keep current setup" "Deactivate current display manager" "Install sddm and theme")
|
||||
else
|
||||
disman=1
|
||||
echo "There is no display manager installed on your system."
|
||||
echo "After the installation/update of the dotfiles, you can start Hyprland with command Hyprland and Qtile with commmand Qtile (or startx)."
|
||||
echo "How do you want to proceed?"
|
||||
dmsel=$(gum choose "Keep current setup" "Install sddm")
|
||||
dmsel=$(gum choose "Keep current setup" "Install sddm and theme")
|
||||
fi
|
||||
else
|
||||
if [ -f /etc/systemd/system/display-manager.service ]; then
|
||||
disman=0
|
||||
echo "You have already installed a display manager. If your display manager is working fine, you can keep the current setup."
|
||||
echo "How do you want to proceed?"
|
||||
dmsel=$(gum choose "Keep current setup" "Deactivate current display manager" "Install sddm")
|
||||
dmsel=$(gum choose "Keep current setup" "Deactivate current display manager" "Install sddm and theme")
|
||||
else
|
||||
disman=1
|
||||
echo "There is no display manager installed on your system. You're starting Hyprland/Qtile with commands on tty."
|
||||
echo "How do you want to proceed?"
|
||||
dmsel=$(gum choose "Keep current setup" "Install sddm")
|
||||
dmsel=$(gum choose "Keep current setup" "Install sddm and theme")
|
||||
fi
|
||||
fi
|
||||
|
||||
@@ -56,7 +56,7 @@ if [ -z "${dmsel}" ] ;then
|
||||
echo "Installation canceled."
|
||||
exit
|
||||
fi
|
||||
if [ "$dmsel" == "Install sddm" ] ;then
|
||||
if [ "$dmsel" == "Install sddm and theme" ] ;then
|
||||
|
||||
disman=0
|
||||
# Try to force the installation of sddm
|
||||
|
||||
Reference in New Issue
Block a user