wustho / epy

CLI Ebook (epub2, epub3, fb2, mobi) Reader
GNU General Public License v3.0
981 stars 53 forks source link

How can I configure epy to use chafa to view images? #107

Open djfergus opened 4 months ago

djfergus commented 4 months ago

From gnome I can view images with the config "auto" (uses feh) or "/usr/bin/feh" however if I configure chafa e.g:

"Setting": { "DefaultViewer": "/usr/bin/chafa", ...

Nothing happens. Is there any way to get this to work? Is there any documentation for the image viewer config? How is the viewer program called?

Thanks.

djfergus commented 4 months ago

Found a somewhat janky solution using tmux:

"DefaultViewer": "tmux new-session chafa --watch",

(then press ctrl-c to return to epy)