Compare commits

...

2 Commits

Author SHA1 Message Date
nev-al
23428d24ee
Merge 1ff54ad852 into e3688e9b3d 2024-10-24 23:42:53 +02:00
usr
1ff54ad852 fix(dwmtitus-setup): dm picking 2024-10-14 00:21:11 -04:00

View File

@ -214,7 +214,22 @@ setupDisplayManager() {
printf "%b\n" "${YELLOW}3. GDM ${RC}"
printf "%b\n" "${YELLOW} ${RC}"
printf "%b" "${YELLOW}Please select one: ${RC}"
read -r DM
read -r choice
case "$choice" in
1)
DM="sddm"
;;
2)
DM="lightdm"
;;
3)
DM="gdm"
;;
*)
printf "%b\n" "${RED}Invalid selection! Please choose 1, 2, or 3.${RC}"
exit 1
;;
esac
case "$PACKAGER" in
pacman)
"$ESCALATION_TOOL" "$PACKAGER" -S --needed --noconfirm "$DM"