Fixed up capture
authorAndrew DeFaria <A.DeFaria@cpanel.net>
Fri, 13 May 2022 23:23:58 +0000 (16:23 -0700)
committerAndrew DeFaria <A.DeFaria@cpanel.net>
Fri, 13 May 2022 23:23:58 +0000 (16:23 -0700)
bin/capture-area.sh
bin/capture-window.sh
bin/setbg

index 5197f95..c4e9ea8 100755 (executable)
@@ -9,8 +9,9 @@ function yesno {
 }
 
 mate-screenshot -ac
 }
 
 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
 
 if yesno "Save screenshot as $file?"; then
   xclip -selection clipboard -t image/png -o > $file
index 126b8e4..4a859c2 100755 (executable)
@@ -9,8 +9,9 @@ function yesno {
 }
 
 mate-screenshot -wc
 }
 
 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
 
 if yesno "Save screenshot as $file?"; then
   xclip -selection clipboard -t image/png -o > $file
index b64024c..a1f71d1 100755 (executable)
--- 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
 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
 
 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
 Uploads is included and new pictures can arrive everyday.
 
 =cut