Change login manager

- Remove lightdm
    - Add greetd
This commit is contained in:
RealStickman 2022-07-29 15:17:17 +02:00
parent 2a5038662c
commit fcacb2beab
3 changed files with 6 additions and 10 deletions

View File

@ -34,18 +34,15 @@ sudo pacman -S --needed --noconfirm python-pip
echo Select packages to install
cmd=(dialog --separate-output --checklist "Select Desktop environment/Window manager:" 22 76 16)
options=(100 "[WM] i3-gaps" off
101 "[WM] sway" off)
options=(100 "[WM] sway" off)
choices=$("${cmd[@]}" "${options[@]}" 2>&1 >/dev/tty)
clear
for choice in $choices
do
case $choice in
100)
echo "i3-gaps" >> "$setupdir/selectedpkgs.txt"
;;
101)
printf '%s\n' 'sway' 'swaylock' 'swayidle' 'swaybg' 'xorg-xwayland' >> "$setupdir/selectedpkgs.txt"
;;
esac
done
@ -645,8 +642,8 @@ sudo systemctl enable --now firewalld
# || true because firewalld doesn't work without a reboot
sudo firewall-cmd --zone=public --permanent --remove-service=ssh || true
# enable lightdm
sudo systemctl enable lightdm
# enable greetd
sudo systemctl enable greetd
# regenerate locale
# Fixes rofi not launching

View File

@ -4,6 +4,8 @@ btrfsmaintenance
davfs2
downgrade
ffmpeg-normalize
greetd
greetd-gtkgreet
jellyamp
jellyfin-media-player
joplin-appimage

View File

@ -55,9 +55,6 @@ libdvdread
libnotify
libreoffice-fresh-de
libsecret
lightdm
lightdm-gtk-greeter
lightdm-gtk-greeter-settings
linux-zen
linux-zen-headers
man-db