From a4f1d530d3723731258205dfae2288892360bdfc Mon Sep 17 00:00:00 2001 From: Agnibho Mondal Date: Fri, 16 Feb 2018 08:48:33 +0530 Subject: [PATCH] Changed edit option --- imagecap | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/imagecap b/imagecap index 6ec76be..6f2b86b 100755 --- a/imagecap +++ b/imagecap @@ -46,13 +46,13 @@ function update(){ function view(){ if [ -n "$IMG" ];then - feh -q --action1 ";$SELF e '%f'" --info "exiftool -S -s -b -comment '%f'" --scale-down --draw-tinted --start-at "$IMG" "$DIR"; + feh -q --action1 ";$SELF -e '%f'" --info "exiftool -S -s -b -comment '%f'" --scale-down --draw-tinted --start-at "$IMG" "$DIR"; else - feh -q --action1 ";$SELF e '%f'" --info "exiftool -S -s -b -comment '%f'" --scale-down --draw-tinted "$DIR"; + feh -q --action1 ";$SELF -e '%f'" --info "exiftool -S -s -b -comment '%f'" --scale-down --draw-tinted "$DIR"; fi } -if [ "$1" == "e" ];then +if [ "$1" == "-e" ];then update "$2"; else view "$1"; -- 2.39.5