aboutsummaryrefslogtreecommitdiff
path: root/shellrc.d-desktop/xorg
diff options
context:
space:
mode:
Diffstat (limited to 'shellrc.d-desktop/xorg')
-rw-r--r--shellrc.d-desktop/xorg3
1 files changed, 2 insertions, 1 deletions
diff --git a/shellrc.d-desktop/xorg b/shellrc.d-desktop/xorg
index 1a03b16..91c9f07 100644
--- a/shellrc.d-desktop/xorg
+++ b/shellrc.d-desktop/xorg
@@ -1,7 +1,8 @@
# vim: ft=sh:
# These are utility functions loaded when we are running in Xserver
-[ -z "$DISPLAY" ] && return # Ignore if there is no display set
+[ -n "$DISPLAY" ] || return # Ignore if there is no display set
+[ -z "$WAYLAND_DISPLAY" ] || return
alias i='i3-msg'