aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorInigoGutierrez <inigogf.95@gmail.com>2019-06-04 15:15:20 +0200
committerInigoGutierrez <inigogf.95@gmail.com>2019-06-04 15:15:20 +0200
commit187a23c9d3358ca69dc51cac6f0d8278bdda8ba3 (patch)
tree6a5983e651a507c2cb7024e0bbbb8739cb51d10f
parente11092024e46aec2059a0aacb7b853a0bfdb6456 (diff)
downloadscripts-187a23c9d3358ca69dc51cac6f0d8278bdda8ba3.tar.gz
scripts-187a23c9d3358ca69dc51cac6f0d8278bdda8ba3.zip
Minor upgrades.
-rwxr-xr-xscreenshot.sh4
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."