[dev][mage] ''suckless'' image viewer proyect

14 views
Skip to first unread message

Fabián

unread,
Dec 2, 2021, 4:49:01 PM12/2/21
to d...@suckless.org
Hello everyone.

I'm working on an image viewer that uses ImLib2, just like sxiv, since
I'm not a fan of converting images just to view them. I've tried my
best to keep it simple and usable.

My problem with sxiv is when I try to 'hack on'. I find it a headache
(not a C wizard) to customize beyond defaults, not to mention there
are features built in that I don't need or like. I'm sure some of the
users can somewhat agree.

Anyway, does mage has a place on suckless?

repo at <https://github.com/explosion-mental/mage>

Mateusz Okulus

unread,
Dec 5, 2021, 7:53:27 AM12/5/21
to dev mail list
Looks very usable to me.

Thumbnail mode doesn't work for me. It's not in manual so I'll assume
it's work in progress. I'd personally would want to use mouse for
zooming and moving around, but -= hjkl is also fine.

I'd consider adding something similar to sxiv's -o option. I don't
personally use it but it seems very useful and not very hard to
implement.

Personally I'm fine with using sxiv. I've never looked at it's source
code but it doesn't seem bloated to me at all, it's even formally
approved on https://suckless.org/rocks/.

I've just check and it seems that sxiv isn't maintained anymore
https://github.com/muennich/sxiv. I'd consider it complete though, and I
haven't spotted any bugs.

After fixing the thumbnail mode and adding the -o option it'd definitely
be a great replacement for sxiv. I'd most like switch if that was
implemented.

In Makefile you should add `mage.o: image.c cmd.c layouts.c`, so if you
change e.g. image.c, then mage.o and mage get rebuild. Right now it's
not the case.

Regards,
mokulus
signature.asc

Nikolay Korotkiy

unread,
Dec 5, 2021, 9:43:12 AM12/5/21
to d...@suckless.org
FYI, there is a maintained fork of sxiv: https://github.com/nsxiv/nsxiv.
Reply all
Reply to author
Forward
0 new messages