X-Git-Url: https://defaria.com/gitweb/?a=blobdiff_plain;f=bin%2Fcapture-window.sh;h=4a859c22dc6746101ebbbcc4d374bdcfce6682b7;hb=f34b6888701268fa0ddab2d22bed59d9e8a35e89;hp=126b8e4d41c780b7f23b910d3429fa250889adab;hpb=6fff5b9c2f216ff68334de853b67427b884935a2;p=clearscm.git diff --git a/bin/capture-window.sh b/bin/capture-window.sh index 126b8e4..4a859c2 100755 --- a/bin/capture-window.sh +++ b/bin/capture-window.sh @@ -9,8 +9,9 @@ function yesno { } mate-screenshot -wc +aplay ~/Conf/CameraClick.wav -file=$screenshot_directory/Screenshots/$(date +%F@%T).png +file="$screenshot_directory/$(date +%F@%T).png" if yesno "Save screenshot as $file?"; then xclip -selection clipboard -t image/png -o > $file