aboutsummaryrefslogtreecommitdiff
path: root/.config/sxiv/exec
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2024-02-29 22:35:04 +0100
committerlonkaars <loek@pipeframe.xyz>2024-02-29 22:35:04 +0100
commitbdd24709f93f3b496cbe842bf1cd0427a421199a (patch)
tree1a66b41019ef9b9fd6453b6a5a709ddd129829ac /.config/sxiv/exec
parent07b3e1fb2e46feafc4fb2f75641effe6f68d24ca (diff)
fix sxiv image info script
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))"