jstkdng / ueberzugpp

Drop in replacement for ueberzug written in C++
GNU General Public License v3.0
854 stars 29 forks source link

Hyprland: Preview doesnt follow moved terminal #227

Open thatDudo opened 2 months ago

thatDudo commented 2 months ago

Perhaps you could use .socket2.sock (https://wiki.hyprland.org/hyprland-wiki/pages/IPC/) to listen for move events, and move the preview with it. I guess these are the annoyances that come with using extraneous windows under wayland. Screenshot_2024-09-17_02:34:36

Screenshot_2024-09-17_02:34:49

jstkdng commented 2 months ago

indeed, wayland has no way to attach two surfaces (except wayfire since we have a plugin that does that). I was thinking about writing a hyprland plugin for that (I like the name hyprzug) but before that I wanted to rewrite ueberzug to hopefully make it more extendable. https://github.com/jstkdng/ueberzugpp-new

thatDudo commented 2 months ago

Hmm, maybe it would be more suitable for that hyprzug plugin to create just one single window on top of the target window to have better performance with multiimage creation. terminal filemanagers could then implement something like a thumbnail view a little better.