From 0cf542815d11b09e411a00267c89180e28623991 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Sun, 16 Jan 2022 14:44:59 +0100 Subject: desktop/xorg: do not load if wayland is detected --- shellrc.d-desktop/xorg | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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' -- cgit v1.2.3