diff options
Diffstat (limited to 'contrib/grimshot')
-rwxr-xr-x | contrib/grimshot | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/grimshot b/contrib/grimshot index 24580dcd..8fc8741b 100755 --- a/contrib/grimshot +++ b/contrib/grimshot | |||
@@ -19,7 +19,7 @@ getTargetDirectory() { | |||
19 | echo ${XDG_SCREENSHOTS_DIR:-${XDG_PICTURES_DIR:-$HOME}} | 19 | echo ${XDG_SCREENSHOTS_DIR:-${XDG_PICTURES_DIR:-$HOME}} |
20 | } | 20 | } |
21 | 21 | ||
22 | if [ $1 == "--notify" ]; then | 22 | if [ "$1" = "--notify" ]; then |
23 | NOTIFY=yes | 23 | NOTIFY=yes |
24 | shift 1 | 24 | shift 1 |
25 | else | 25 | else |
@@ -55,7 +55,7 @@ notify() { | |||
55 | notify-send -t 3000 -a grimshot "$@" | 55 | notify-send -t 3000 -a grimshot "$@" |
56 | } | 56 | } |
57 | notifyOk() { | 57 | notifyOk() { |
58 | [ $NOTIFY = "no" ] && return | 58 | [ "$NOTIFY" = "no" ] && return |
59 | 59 | ||
60 | TITLE=${2:-"Screenshot"} | 60 | TITLE=${2:-"Screenshot"} |
61 | MESSAGE=${1:-"OK"} | 61 | MESSAGE=${1:-"OK"} |