]>
Softwares of Agnibho - imagecap.git/blob - imagecap
3 # Copyright (c) 2017 Agnibho Mondal
6 # This file is part of ImageCap.
8 # ImageCap is free software: you can redistribute it and/or modify it under the
9 # terms of the GNU General Public License as published by the Free Software
10 # Foundation, either version 3 of the License, or (at your option) any later
13 # ImageCap is distributed in the hope that it will be useful, but WITHOUT ANY
14 # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
15 # PARTICULAR PURPOSE. See the GNU General Public License for more details.
17 # You should have received a copy of the GNU General Public License along with
18 # ImageCap. If not, see <http://www.gnu.org/licenses/>.
24 SELF
="$(realpath "$0")";
26 ARG
="$(echo $1 | sed "s
/^
file:\
/\
///g
")";
27 DIR
="$(dirname "$ARG")";
29 #IMG="$(feh -U "$DIR"|grep "$ARG$")";
30 IMG
="$DIR/$(basename "$ARG")";
35 exiftool
-S -s -b -comment "$1">$TEMP;
38 exiftool
-overwrite_original_in_place "-comment<=$TEMP" "$1";
44 feh
-q --action1 ";$SELF e '%f'" --info "exiftool -S -s -b -comment '%f'" --scale-down --draw-tinted --start-at "$IMG" "$DIR";
46 feh
-q --action1 ";$SELF e '%f'" --info "exiftool -S -s -b -comment '%f'" --scale-down --draw-tinted "$DIR";
50 if [ "$1" == "e" ];then