Fix: disable ueberzug if running wayland

This commit is contained in:
Nikita Ivanov 2022-06-21 18:59:19 +05:00
parent 72e5ef62c8
commit 6bea77ca18
No known key found for this signature in database
GPG Key ID: 6E656AC5B97B5133

View File

@ -7,7 +7,8 @@ is_kitty() {
} }
use_ueberzug() { use_ueberzug() {
exists ueberzug [ -n "$WAYLAND_DISPLAY" ] && return 1
[ -n "$DISPLAY" ] && exists ueberzug
} }
use_kitty() { use_kitty() {