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

View File

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

View File

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