Community patches, scripts, tips and tricks for nsxiv.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Berke Kocaoğlu c9e21cde18
scripts/nsxiv-env: fix author order
10 months ago
..
README.md scripts/nsxiv-env: fix author order 10 months ago
nsxiv-env nsxiv-env: Make more robust 11 months ago

README.md

nsxiv-env

This script will run nsxiv using arguments extracted from the environment variables NSXIV_OPTS. CLI arguments takes priority over NSXIV_OPTS.

You can edit NSXIV_OPTS in the script or export NSXIV_OPTS in your shell profile (e.g ~/.bash_profile or ~/.zprofile) to change the default arguments passed to nsxiv.

One thing to note is that if you rename this script to nsxiv and put in in your PATH before nsxiv (the actual binary) you will have to use the entire path to call nsxiv, otherwise the script will go into an infinite recursion.

-exec nsxiv $NSXIV_OPTS "$@"
+exec /path/to/nsxiv $NSXIV_OPTS "$@"

Authors