Change login manager
- Remove lightdm - Add greetd
This commit is contained in:
parent
f7e14ad36b
commit
636f59e6ba
@ -40,17 +40,14 @@ sudo pacman -Syu
|
|||||||
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; do
|
for choice in $choices; 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
|
||||||
|
|
||||||
@ -386,8 +383,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
|
||||||
|
@ -62,9 +62,6 @@ libnotify
|
|||||||
libreoffice-fresh
|
libreoffice-fresh
|
||||||
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
|
||||||
lsp-plugins-lv2
|
lsp-plugins-lv2
|
||||||
|
Loading…
Reference in New Issue
Block a user