Run shellcheck on script files
[geeqie.git] / plugins / tethered-photography / geeqie-tethered-photography-hook-script
1 #!/bin/sh
2
3 ## @file
4 ## @brief Tethered photography hook script
5 ##
6
7 # shellcheck disable=SC2154
8 if [ "$ACTION" = "download" ]
9 then
10         notify-send --expire-time=4000 "$ARGUMENT"  --icon=geeqie
11         geeqie --remote File:"$PWD/$ARGUMENT"
12 fi
13
14 exit 0