sway: Autostart sway on tty1 login

This commit is contained in:
histalek 2022-04-28 21:07:39 +02:00
parent 32fcb2817f
commit 84a5b0cfe6
No known key found for this signature in database
GPG key ID: ED1D6449704FDE03

View file

@ -1,3 +1,7 @@
[ -f ~/.profile ] && . ~/.profile
if [ -z $DISPLAY ] && [ "$(tty)" = "/dev/tty1" ]; then
exec sway
fi