aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/fish/config.fish2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/fish/config.fish b/config/fish/config.fish
index c28ccab..0c5338e 100644
--- a/config/fish/config.fish
+++ b/config/fish/config.fish
@@ -74,7 +74,7 @@ set -x GPG_TTY (tty)
#start xsession if we are not in ssh
if not set -q SSH_CLIENT; or not set -q SSH_TTY
- if not set -q DISPLAY; and test "$XDG_VTNR" = "1"
+ if not set -q DISPLAY; and not set -q WAYLAND_DISPLAY; and test "$XDG_VTNR" = "1"
if type -q sway
set -x TERMINAL termite
set -x BROWSER qutebrowser