commit 6d8b90f6c9233fb8e56c0313833e8a8b471418c5
parent 9790f728674a88e1197d7f0c199c202a0d53e2f2
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Mon, 17 Feb 2020 09:58:42 +0100
Add binding to show image exif data
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/.config/sxiv/exec/key-handler b/.config/sxiv/exec/key-handler
@@ -18,6 +18,8 @@ while read -r file; do
cp "$file" "$destdir"
notify-send -i "$fullpath" "$file copied to $destdir." &
;;
+ "i")
+ notify-send "$(exiftool "$file")" & ;;
"m")
[ -z "$destdir" ] && \
destdir="$(sed "s/\s.*#.*$//;/^\s*$/d" ~/.bmdirs | \