diff --git a/setup/modules/Desktop-Environments/niri.sh b/setup/modules/Desktop-Environments/niri.sh index 45db923..6cc3c77 100755 --- a/setup/modules/Desktop-Environments/niri.sh +++ b/setup/modules/Desktop-Environments/niri.sh @@ -33,6 +33,11 @@ sudo pacman -Syu --noconfirm --needed \ log "Enabling essential services..." enable_service NetworkManager.service sudo systemctl disable getty@tty1.service || true +# Disable greetd, which core.sh enables by default for every install. niri uses +# ly as its greeter, so leaving greetd enabled means two display managers both +# race to claim tty1 — and the stale greetd/tuigreet greeter can win, showing the +# old text login instead of ly. Disable it so ly is the sole greeter. +disable_service greetd.service enable_service ly@tty1.service enable_service udisks2.service @@ -118,13 +123,7 @@ cp -f ~/Dotfiles/desktopenvs/niri/vicinae/cyberqueer.toml \ cp ~/Dotfiles/colors.conf ~/.config/colors.conf -# 10. greetd — deploy niri session config -log "Deploying greetd config for niri..." -sudo mkdir -p /etc/greetd -sudo cp -f ~/Dotfiles/desktopenvs/niri/greetd-tuigreet/config.toml /etc/greetd/config.toml -enable_service greetd.service - -# 11. Wallpaper and resources +# 10. Wallpaper and resources log "Copying wallpaper and resources..." mkdir -p ~/Pictures ~/Pictures/Screenshots cp ~/Dotfiles/resources/fflogo.svg ~/Pictures/fflogo.svg