From 7aa1e113f59409373f1ec78df80cf8ece1a55176 Mon Sep 17 00:00:00 2001 From: surtur Date: Wed, 10 Feb 2021 23:27:34 +0100 Subject: [PATCH] autoopen sway on tty1 --- zshrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/zshrc b/zshrc index 1610783..441190f 100644 --- a/zshrc +++ b/zshrc @@ -235,3 +235,7 @@ echo $FILE_URL } + +if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then + exec sway +fi