I like my sxiv windows to be sized to match the geometry of the image by default on my machine. So far, I have piped the output of of the identity program into sxiv to achieve this (e.g. sxiv -g $(identify -format "%wx%h" $image) $image). While this works, ideally I would like to be able to define this option in config.def.h
I recognize that sxiv is developed primary by tiling-WM users and that this feature may considered bloat, but if it can be implemented in an elegant manner then it would be appreciated.
sxiv once had a command to resize the window to fit the image size. I do not plan to bring it back, but maybe you can use it to to achieve this in your own fork. The commit that removed the feature is 524d9de.
Could you iterate on the rationale behind removing it? I'm curious.
I would mainly be interested in launching sxiv with a window size that caters to the image it's opening.
Otherwise I suppose I could still use feh as my general viewer and sxiv when I need a specific feature of it (e.g. tagging/filtering images).
I've never used nor liked it.