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

How to pass another argument to image-info? #423

Open
Dupond opened this issue Nov 11, 2020 · 0 comments
Open

How to pass another argument to image-info? #423

Dupond opened this issue Nov 11, 2020 · 0 comments

Comments

@Dupond
Copy link

Dupond commented Nov 11, 2020

Hello!

First of all, thanx for this great software! Simple and efficient!

This is not really an issue: I'd like to know if an argument could be passed to the image-info script, so that it could be invoked by different keys, and it would then be used to display different things.

For example, if we could pass which key has been pressed on (or any other parameter) to invoke image-info, it would be possible to hit t to display the image title, e to display the exif informations, etc.

The script itself could then look like this:

case "$4" in
    "t") echo "$filename" ;;
    "e") echo "Exif datas: etc." ;;
esac

Is it already possible? Or would anyone have an idea to implement it somehow? (I'm not an expert programmer, so I've just been able to edit config.h so that it suits my own needs). Thanx in advance for any help!

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

1 participant