|
|
|
|
|
by SushiHippie
696 days ago
|
|
I've used DMs only for eye candy, as it looks a bit better than using getty/greetd to login. 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.)