-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
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
help wanted: simplest way to display an image using ueberzugpp #56
Comments
hm, that bash library was later deprecated by seebye so I wouldn't use it. The easiest way to display images is through the unix socket |
and how could i do that with a shell script to just display the image, with |
The |
actually, i just figured out how to replicate that, this is what i was trying to achieve: #!/bin/sh
UB_PID_FILE="/tmp/.$(uuidgen)"
ueberzugpp layer --no-stdin --silent --use-escape-codes --pid-file "$UB_PID_FILE"
UB_PID="$(cat "$UB_PID_FILE")"
export UB_SOCKET=/tmp/ueberzugpp-"$UB_PID".socket
ueberzugpp cmd -s "$UB_SOCKET" -a add -i PREVIEW -x "$1" -y "$2" --max-width "$3" --max-height "$4" -f "$5"
read -r
ueberzugpp cmd -s "$UB_SOCKET" -a exit should i PR it as an example in the scripts directory? it might be useful to some people i guess |
sure, it could be useful to someone else. |
using this with the output set to |
no need, there's already #55 . |
i would like to get some help on how i could simply display an image in the terminal, by specifying its position, something that was done in Luke Smith's video using the original ueberzug:
The text was updated successfully, but these errors were encountered: