diff --git a/.profile b/.profile index 95e18f4..83cd4e4 100644 --- a/.profile +++ b/.profile @@ -44,4 +44,4 @@ export ZDOTDIR="$XDG_CONFIG_HOME/zsh" export QT_QPA_PLATFORMTHEME="gtk2" # Start Sway -[ "$(tty)" = "/dev/tty1" ] && exec sway +[ -z $DISPLAY ] && [ "$(tty)" = "/dev/tty1" ] && exec sway