aboutsummaryrefslogtreecommitdiff
path: root/.config/sxiv/exec
diff options
context:
space:
mode:
Diffstat (limited to '.config/sxiv/exec')
-rwxr-xr-x.config/sxiv/exec/image-info9
1 files changed, 4 insertions, 5 deletions
diff --git a/.config/sxiv/exec/image-info b/.config/sxiv/exec/image-info
index 303431a..7683c3a 100755
--- a/.config/sxiv/exec/image-info
+++ b/.config/sxiv/exec/image-info
@@ -1,7 +1,6 @@
#!/bin/sh
-printf "`basename $1`"
-printf " "
-printf "`date -r "$1"`"
-printf " "
-printf "$2x$3 (`du -Hh "$1" | cut -f 1`)"
+printf '%s %s %s' \
+ "$(basename "$1")" \
+ "$(date -r "$1")" \
+ "$2x$3 ($(du -Hh "$1" | cut -f 1))"