sway: Autostart sway on tty1 login
This commit is contained in:
parent
32fcb2817f
commit
84a5b0cfe6
1 changed files with 4 additions and 0 deletions
4
.zlogin
4
.zlogin
|
@ -1,3 +1,7 @@
|
||||||
|
|
||||||
[ -f ~/.profile ] && . ~/.profile
|
[ -f ~/.profile ] && . ~/.profile
|
||||||
|
|
||||||
|
if [ -z $DISPLAY ] && [ "$(tty)" = "/dev/tty1" ]; then
|
||||||
|
exec sway
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue