Re: [dev] [sxiv] Discussion

From: Silvan Jegen <s.jegen_AT_gmail.com>
Date: Tue, 9 Aug 2016 21:19:14 +0200

On Tue, Aug 09, 2016 at 08:18:01PM +0200, FRIGN wrote:
> On Tue, 9 Aug 2016 18:36:34 +0200
> Silvan Jegen <s.jegen_AT_gmail.com> wrote:
> > Personally, I would opt for taking out the thumbnail view and maybe
> > try to get rid of the font handling (if possible; maybe just use a key
> > press to write the file name to stdout?) to reduce the dependencies
> > somewhat.
>
> then it would basically be feh.

feh has this odd right-click menu though. It's also surprisingly large
(it also can set your background image...).

[feh]$ wc -l `find . -name '*.c' -o -name '*.h'`
[...]
 17441 total


> > Of course one could get rid of all the image format dependencies and
> > use only farbfeld, if one finds someone willing to write/debug
> > farbfeld converters for all image formats so that sxiv would only
> > have to speak farbfeld.
>
> farbfeld is damn stable and one can easily use the 2ff tool to convert
> from all possible image formats with the help of imagemagick.
>
> Look at sent on how it is handled there.

If the conversion tools are already written (I wasn't sure this was
the case already) then all that's left to simplify sxiv would be to
make it speak only farbfeld and then to wrap it up in a shell script
(?) that converts all arguments to temporary farbfeld files and passes
them to sxiv.


Cheers,

Silvan

> Cheers
>
> FRIGN
>
> --
> FRIGN <dev_AT_frign.de>
>
Received on Tue Aug 09 2016 - 21:19:14 CEST

This archive was generated by hypermail 2.3.0 : Tue Aug 09 2016 - 21:24:12 CEST