diff options
-rwxr-xr-x | screenshot.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/screenshot.sh b/screenshot.sh index cb911c4..5afde9d 100755 --- a/screenshot.sh +++ b/screenshot.sh @@ -4,5 +4,5 @@ name="$(date +"%y%m%d_%H%M%S")".png file="$HOME/images/screenshots/""$name" -[ "$1" = "" ] && maim -m 8 $file && notify-send -t 800 "Screenshot $name taken." -[ "$1" = "-a" ] && maim -s -b 2 -c 0.412,0.431,1 -m 8 $file && notify-send -t 800 "Screenshot $name taken." +[ "$1" = "" ] && maim -m 8 "$file" && dunstify -t 800 "Screenshot $name taken." +[ "$1" = "-a" ] && maim -s -b 2 -c 0.412,0.431,1 -m 8 "$file" && dunstify -t 800 "Screenshot $name taken." |