From 810423b27285b581651d934e24510140c404d1c7 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Wed, 28 Apr 2021 13:06:17 +0200 Subject: [fish do not autostart sway if already a wayland compositor is running --- config/fish/config.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config/fish') 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 -- cgit v1.2.3