tno beeps on screenshot - scripts - random scripts
git clone git://parazyd.org/scripts.git
Log
Files
Refs
---
commit 8876e7a9c246048415eb7c4025150728579c59f5
parent 0f137bc0349c5839ddf2e5f3a48416438de7549b
Author: parazyd 
Date:   Wed, 15 Feb 2017 05:36:35 +0100

no beeps on screenshot

Diffstat:
  M skrot                               |       4 +---

1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/skrot b/skrot
t@@ -5,11 +5,9 @@ shotdir="$HOME/screenshots"
 case "x$1" in
         x-s)
                 import "$shotdir/last.png" && \
-                        play -n synth 0.1 sin 880
                 ;;
         x)
-                import -window root "$shotdir/$(date +%Y-%m-%d-%H-%M-%S)-1366x768.png" && \
-                        play -n synth 0.1 sin 880 | echo -e "\a"
+                import -window root "$shotdir/$(date +%Y-%m-%d-%H-%M-%S)-1366x768.png"
                 ;;
         *)
                 >&2 printf "skrot: internal error\n"