aboutsummaryrefslogtreecommitdiff
path: root/config/fish/config.fish
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2021-04-28 13:06:17 +0200
committerFlorian Fischer <florian.fischer@muhq.space>2021-04-28 13:06:17 +0200
commit810423b27285b581651d934e24510140c404d1c7 (patch)
treee4d31f3e156c4ed49accac1636fdb1b29b5e4915 /config/fish/config.fish
parentc4eff9dc76258325cd10e0a9c2262e56e816095b (diff)
downloaddotfiles-810423b27285b581651d934e24510140c404d1c7.tar.gz
dotfiles-810423b27285b581651d934e24510140c404d1c7.zip
[fish do not autostart sway if already a wayland compositor is running
Diffstat (limited to 'config/fish/config.fish')
-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