From 6bea77ca1805b4c6e329b18f34c6870646680f0e Mon Sep 17 00:00:00 2001 From: Nikita Ivanov Date: Tue, 21 Jun 2022 18:59:19 +0500 Subject: [PATCH] Fix: disable ueberzug if running wayland --- sh/helpers.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sh/helpers.sh b/sh/helpers.sh index a8fa7e2..11650b0 100644 --- a/sh/helpers.sh +++ b/sh/helpers.sh @@ -7,7 +7,8 @@ is_kitty() { } use_ueberzug() { - exists ueberzug + [ -n "$WAYLAND_DISPLAY" ] && return 1 + [ -n "$DISPLAY" ] && exists ueberzug } use_kitty() {