From aabc2bddbdeecdb2651394d90b10a9290a69b527 Mon Sep 17 00:00:00 2001 From: Bert Münnich Date: Sat, 6 Aug 2016 12:22:47 +0200 Subject: Provide image width and height to image-info script; fixes issue #159 --- sxiv.1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sxiv.1') 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 . -- cgit v1.2.3