sway: autostart from tty1

This commit is contained in:
Johannes Loher 2021-11-11 23:55:42 +01:00
parent 304a2c28a6
commit 49f4e89bd0
1 changed files with 4 additions and 0 deletions

4
.zshrc.pre Normal file
View File

@ -0,0 +1,4 @@
if [ -z $DISPLAY ] && [ "$(tty)" = "/dev/tty1" ]; then
source $HOME/.profile
exec sway
fi