diff --git a/.install/disabledm.sh b/.install/disabledm.sh index 49b5e42..f54ccc7 100644 --- a/.install/disabledm.sh +++ b/.install/disabledm.sh @@ -16,17 +16,11 @@ EOF echo -e "${NONE}" echo "An active display manager has been dedected." echo "" - if [ $profile == "Hyprland" ]; then + if [[ $profile == *"Hyprland"* ]]; then echo "IMPORTANT: Starting Hyprland from tty (terminal) with command Hyprland is recommended." echo "Login with display managers could fail and could have negative side effects on some devices." fi - if [ $profile == "Qtile" ]; then - echo "PLEASE NOTE: Qtile works with Display Managers." - echo "But if you want to use the tty based (terminal) login instead, you can disable the display manager now." - fi - if [ $profile == "All" ]; then - echo "IMPORTANT: Starting Hyprland from tty (terminal) with command Hyprland is recommended." - echo "Login with display managers could fail and could have negative side effects on some devices." + if [[ $profile == *"Qtile"* ]]; then echo "PLEASE NOTE: Qtile works with Display Managers." echo "But if you want to use the tty based (terminal) login instead, you can disable the display manager now." fi