Ly: Display Manager with Console UI
github.com
github.com
Also I kept having issues with it, not using pam correctly on arch.
Why not just login and run "sway" or "startx"
But I've never got DMs working without any problems, so I just have
if [[ $(tty) = /dev/tty1 ]]; then
exec sway; logout
fi
in my .zprofile file, which just works (tm).(By the way, exec is a fundamental Unix syscall of interest in that it replaces the current process’s code with new code. Your logout call will never run. The exec is the last thing zsh does before being replaced by sway.)
Is it like a tmux that automatically creates/arranges new panes for new processes?
They are just login managers now.
The xinitrc thing is for all intents and purposes just a command run before your session binary, and sometimes a few extra env vars. Arguably a bad design (just let that be up to the session binary), it oh well. History is what it is.
https://kl.wtf/posts/2022/03/12/login-managers-an-introducti...