X-Git-Url: https://defaria.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=bin%2Fcapture-window.sh;fp=bin%2Fcapture-window.sh;h=4a859c22dc6746101ebbbcc4d374bdcfce6682b7;hb=290e8df6876439cd18325d55b6dc8e2e5e1fc8f2;hp=126b8e4d41c780b7f23b910d3429fa250889adab;hpb=10b78beac53843192f7da8a6dbaa2d5e0572b307;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