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

Conversation

@yuri0r
Copy link

@yuri0r yuri0r commented Jun 21, 2020

Technicalities

The -d option will overwrite the default XK_Enter behaviour.

Instead of changing the mode sxiv will output the path to
the currently file indexed Image to stdout.

In order to still be able to change modes ctrl+enter will
ignore -d flag and changes modes as normally.

Notes

I am not a c dev but i feel like this was simple enough to implement and potentially some more people would like sxiv to more closely imitate dmenu behaviour.

Caveats

yes i am fully aware that -o -> mark one picture -> quit does effectively the same thing but the extra key press bothered me enough to dust of my c skills. I do however fully understand that this might seen as unnecessary in which case feel fee to decline the PR.

The -d option will overwrite the default XK_Enter behaviour.
Instead of changing the mode sxiv will output the path to
the currently fileindexed Image to stdout.
In order to still be able to change modes ctrl+enter will
irgnore -d flag and chnages modes as normaly.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant