X-Git-Url: https://defaria.com/gitweb/?a=blobdiff_plain;f=bin%2Fcapture-window.sh;h=4a859c22dc6746101ebbbcc4d374bdcfce6682b7;hb=29e7a76b102f27fe3017887c8936665ba9932d98;hp=126b8e4d41c780b7f23b910d3429fa250889adab;hpb=67781e311ebed78e2540360784f95cb7aac9ae2f;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