summaryrefslogtreecommitdiffstats
path: root/sxiv.1
diff options
context:
space:
mode:
authorBert Münnich <ber.t@posteo.de>2016-08-06 12:22:47 +0200
committerBert Münnich <ber.t@posteo.de>2016-08-06 12:22:47 +0200
commitaabc2bddbdeecdb2651394d90b10a9290a69b527 (patch)
treec804b955cd9be7aef643da6088ce298aa7ec831d /sxiv.1
parentf32771a6479ea028e7fc851c3a8869db95c8e05c (diff)
downloadnsxiv-aabc2bddbdeecdb2651394d90b10a9290a69b527.tar.zst
Provide image width and height to image-info script; fixes issue #159
Diffstat (limited to 'sxiv.1')
-rw-r--r--sxiv.13
1 files changed, 2 insertions, 1 deletions
diff --git a/sxiv.1 b/sxiv.1
index 51ba9f2..0e1485b 100644
--- a/sxiv.1
+++ b/sxiv.1
@@ -366,7 +366,8 @@ The information displayed on the left side of the status bar can be replaced
with the output of a user-provided script, which is called by sxiv whenever an
image gets loaded. The path of this script is
.I $XDG_CONFIG_HOME/sxiv/exec/image-info
-and the first argument to this script is the path of the loaded image.
+and the arguments given to it are: 1) path to image file, 2) image width,
+3) image height.
.P
There is also an example script installed together with sxiv as
.IR PREFIX/share/sxiv/exec/image-info .