From: Andrew DeFaria Date: Fri, 13 May 2022 23:23:58 +0000 (-0700) Subject: Fixed up capture X-Git-Url: https://defaria.com/gitweb/?a=commitdiff_plain;ds=sidebyside;h=290e8df6876439cd18325d55b6dc8e2e5e1fc8f2;p=clearscm.git Fixed up capture --- diff --git a/bin/capture-area.sh b/bin/capture-area.sh index 5197f95..c4e9ea8 100755 --- a/bin/capture-area.sh +++ b/bin/capture-area.sh @@ -9,8 +9,9 @@ function yesno { } mate-screenshot -ac +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 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 diff --git a/bin/setbg b/bin/setbg index b64024c..a1f71d1 100755 --- a/bin/setbg +++ b/bin/setbg @@ -63,10 +63,10 @@ contents of the bgdirs incase it has changed and display a new image". This is useful for script to be able to alert setbg that something has changed. For example, a script named rmbg might look at ~/.setbg to get the name of the current background image file and remove it then signal setbg with SIGUSR1 to -have it re-evaluate the state of bgdirs. +have it re-evaluate the state of bgdirs. Finally setbg will perform the this re-evaluation at midnight everyday. This is -useful because we point setbg to look at -bgdirs from Dropbox where Camera +useful because we point setbg to look at -bgdirs from Dropbox where Camera Uploads is included and new pictures can arrive everyday. =cut