From fcacb2beab2142994116fe44ed97f7f577eb7bf4 Mon Sep 17 00:00:00 2001 From: RealStickman Date: Fri, 29 Jul 2022 15:17:17 +0200 Subject: [PATCH] Change login manager - Remove lightdm - Add greetd --- arch-setup/install.sh | 11 ++++------- arch-setup/packages/aurpkgs.txt | 2 ++ arch-setup/packages/officialpkgs.txt | 3 --- 3 files changed, 6 insertions(+), 10 deletions(-) diff --git a/arch-setup/install.sh b/arch-setup/install.sh index ebeac825..3d4a8e11 100755 --- a/arch-setup/install.sh +++ b/arch-setup/install.sh @@ -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 diff --git a/arch-setup/packages/aurpkgs.txt b/arch-setup/packages/aurpkgs.txt index be19cf7f..3a43a644 100644 --- a/arch-setup/packages/aurpkgs.txt +++ b/arch-setup/packages/aurpkgs.txt @@ -4,6 +4,8 @@ btrfsmaintenance davfs2 downgrade ffmpeg-normalize +greetd +greetd-gtkgreet jellyamp jellyfin-media-player joplin-appimage diff --git a/arch-setup/packages/officialpkgs.txt b/arch-setup/packages/officialpkgs.txt index 172d906c..5fa333ad 100644 --- a/arch-setup/packages/officialpkgs.txt +++ b/arch-setup/packages/officialpkgs.txt @@ -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