]>
Softwares of Agnibho - imagecap.git/blob - imagecap
3 #=========================================================
4 # Wrapper script for feh image viewer with comment support
5 #=========================================================
7 SELF
="$(realpath "$0")";
9 ARG
="$(echo $1 | sed "s
/^
file:\
/\
///g
")";
10 DIR
="$(dirname "$ARG")";
12 #IMG="$(feh -U "$DIR"|grep "$ARG$")";
13 IMG
="$DIR/$(basename "$ARG")";
18 exiftool
-S -s -b -comment "$1">$TEMP;
21 exiftool
-overwrite_original_in_place "-comment<=$TEMP" "$1";
27 feh
-q --action1 ";$SELF e '%f'" --info "exiftool -S -s -b -comment '%f'" --scale-down --draw-tinted --start-at "$IMG" "$DIR";
29 feh
-q --action1 ";$SELF e '%f'" --info "exiftool -S -s -b -comment '%f'" --scale-down --draw-tinted "$DIR";
33 if [ "$1" == "e" ];then