sway: Setup autostart after tty1 login
This commit is contained in:
parent
73f8e1934a
commit
740ec0a816
1 changed files with 3 additions and 0 deletions
3
.zlogin
3
.zlogin
|
@ -1,6 +1,9 @@
|
||||||
|
|
||||||
[ -f ~/.profile ] && . ~/.profile
|
[ -f ~/.profile ] && . ~/.profile
|
||||||
|
|
||||||
|
|
||||||
|
# Interesting note on `sway` and `exec sway`: https://github.com/swaywm/sway/issues/4091
|
||||||
|
#Ref.: https://github.com/swaywm/sway/wiki#login-managers
|
||||||
if [ -z $DISPLAY ] && [ "$(tty)" = "/dev/tty1" ]; then
|
if [ -z $DISPLAY ] && [ "$(tty)" = "/dev/tty1" ]; then
|
||||||
exec sway
|
exec sway
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue