We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ueberzugpp supports wayland, but I cannot use it in ctpv because there is an explicit check that disables ueberzug in wayland.
I recompiled with the change below and now image previews are working perfectly.
Probably some better fix could be added (check for ueberzugpp? introduce a forceueberzug flag? ...) but this at least seams to work fine.
diff --git a/sh/helpers.sh b/sh/helpers.sh index fef8691..f194557 100644 --- a/sh/helpers.sh +++ b/sh/helpers.sh @@ -52,7 +52,7 @@ set_image_method() { [ -n "$forcekittyanim" ] && is_kitty && is_anim_image && { image_method="$image_method_kitty"; return 0; } [ -n "$forcechafa" ] && exists chafa && { image_method="$image_method_chafa"; return 0; } - [ -n "$DISPLAY" ] && [ -z "$WAYLAND_DISPLAY" ] && exists ueberzug && + exists ueberzug && [ -n "$fifo" ] && [ -e "$fifo" ] && { image_method="$image_method_ueberzug"; return 0; }
The text was updated successfully, but these errors were encountered:
that would be nice
Sorry, something went wrong.
No branches or pull requests
ueberzugpp supports wayland, but I cannot use it in ctpv because there is an explicit check that disables ueberzug in wayland.
I recompiled with the change below and now image previews are working perfectly.
Probably some better fix could be added (check for ueberzugpp? introduce a forceueberzug flag? ...) but this at least seams to work fine.
The text was updated successfully, but these errors were encountered: