Repository navigation
Image previews in sway #4445
What system are you running Yazi on?Linux Wayland What terminal are you running Yazi in?Alacritty 0.17.0
|
Replies: 1 comment 1 reply
|
Both come from ueberzugpp, not Yazi, so there's nothing to report to Yazi. Alacritty has no image protocol: your
The fix for both is a terminal that draws images itself, so Yazi doesn't need ueberzugpp at all: kitty, Ghostty, WezTerm or Konsole (kitty graphics protocol), or foot (sixel). The image is then part of the terminal's content: it stays where Yazi put it, and it disappears with the window. If you'd rather keep Alacritty, there's no way around the floating-window behaviour on Sway, only workarounds such as closing the preview before switching. |
Both come from ueberzugpp, not Yazi, so there's nothing to report to Yazi.
Alacritty has no image protocol: your
ya envshowskgp: false, sixel: falseandDrivers.matches: Wayland. So Yazi hands previews to ueberzugpp's Wayland output, which draws each image as a separate floating window, placed where it guesses the terminal's cells are. That explains both symptoms: