projects
/
clearscm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
81cbd13
)
Changed to write only the file name to ~/.setbg. This will allow us
author
Andrew DeFaria
<Andrew@DeFaria.com>
Thu, 7 Nov 2013 17:15:19 +0000
(09:15 -0800)
committer
Andrew DeFaria
<Andrew@DeFaria.com>
Thu, 7 Nov 2013 17:15:19 +0000
(09:15 -0800)
to use the file name in scripts.
bin/setbg
patch
|
blob
|
history
diff --git
a/bin/setbg
b/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;
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";
my $cmd = "$setbg $setbgOpts$image\" 2> /dev/null";