From: Andrew DeFaria Date: Thu, 7 Nov 2013 17:15:19 +0000 (-0800) Subject: Changed to write only the file name to ~/.setbg. This will allow us X-Git-Url: https://defaria.com/gitweb/?a=commitdiff_plain;h=3b50292664f76044bace93c83bb9dbf43d9731a2;p=clearscm.git Changed to write only the file name to ~/.setbg. This will allow us to use the file name in scripts. --- diff --git a/bin/setbg b/bin/setbg index 777f632..ddfa756 100755 --- 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";