From 3b50292664f76044bace93c83bb9dbf43d9731a2 Mon Sep 17 00:00:00 2001 From: Andrew DeFaria Date: Thu, 7 Nov 2013 09:15:19 -0800 Subject: [PATCH] Changed to write only the file name to ~/.setbg. This will allow us to use the file name in scripts. --- bin/setbg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"; -- 2.17.1