Skip to content
This repository has been archived by the owner on Jan 16, 2023. It is now read-only.

[Enhancement] Image Dismensions as Window Geometry #337

Closed
MimaHakurei opened this issue Jan 12, 2019 · 3 comments
Closed

[Enhancement] Image Dismensions as Window Geometry #337

MimaHakurei opened this issue Jan 12, 2019 · 3 comments

Comments

@MimaHakurei
Copy link

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.

@xyb3rt
Copy link
Owner

xyb3rt commented Jan 12, 2019

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.

@xyb3rt xyb3rt closed this as completed Jan 12, 2019
@FichteFoll
Copy link

FichteFoll commented Jan 26, 2019

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).

@xyb3rt
Copy link
Owner

xyb3rt commented Jan 27, 2019

I've never used nor liked it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants