Update 3-post-setup.sh

This commit is contained in:
ArcExp 2023-10-12 19:20:16 +01:00 committed by GitHub
parent 93db6b8dd8
commit eb9d5b70a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 4 deletions

View File

@ -73,16 +73,14 @@ else
if [[ ! "${DESKTOP_ENV}" == "server" ]]; then
sudo pacman -S --noconfirm --needed lightdm lightdm-gtk-greeter
systemctl enable lightdm.service
sed -i 's/#greeter-session=example.*/greeter-session=lightdm-gtk-greeter/g' /etc/lightdm/lightdm.conf
fi
if [[ "${DESKTOP_ENV}" == "hypr" ]]; then
git clone https://github.com/linuxmobile/hyprland-dots
cd hyprland-dots/
rsync -avxHAXP --exclude '.git*' .* "/home/$USERNAME/"
sudo pacman -S --noconfirm --needed lightdm lightdm-gtk-greeter
systemctl enable lightdm.service
sed -i 's/#greeter-session=example.*/greeter-session=lightdm-gtk-greeter/g' /etc/lightdm/lightdm.conf
sudo pacman -Rs --noconfirm lightdm lightdm-gtk-greeter
systemctl disable lightdm.service
fi
fi