autoopen sway on tty1

This commit is contained in:
surtur 2021-02-10 23:27:34 +01:00
parent cbb464b1a8
commit 7aa1e113f5
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

4
zshrc

@ -235,3 +235,7 @@
echo $FILE_URL echo $FILE_URL
} }
if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then
exec sway
fi