Changed to write only the file name to ~/.setbg. This will allow us
authorAndrew DeFaria <Andrew@DeFaria.com>
Thu, 7 Nov 2013 17:15:19 +0000 (09:15 -0800)
committerAndrew DeFaria <Andrew@DeFaria.com>
Thu, 7 Nov 2013 17:15:19 +0000 (09:15 -0800)
to use the file name in scripts.

bin/setbg

index 777f632..ddfa756 100755 (executable)
--- a/bin/setbg
+++ b/bin/setbg
@@ -118,7 +118,7 @@ while () {
   open my $log, '>', "$ENV{HOME}/.$FindBin::Script"
     or error "Unable to open $ENV{HOME}/.setbg for writing - $!", 1;
 
-  display "Current background: $image", $log;
+  display $image, $log;
 
   my $cmd = "$setbg $setbgOpts$image\" 2> /dev/null";