X-Git-Url: https://defaria.com/gitweb/?a=blobdiff_plain;f=bin%2Fsetbg;h=ffcefdaf20eff7a7b0e3090c2deb76ec983c6623;hb=f1e080cb5090ea52eddcb1c85185e719582a137b;hp=a1f71d190b4bf200c919a9176073674aa20f8db5;hpb=a8c84d2892f07a6863b68a11eb0a4a79ffd71fb5;p=clearscm.git diff --git a/bin/setbg b/bin/setbg index a1f71d1..ffcefda 100755 --- a/bin/setbg +++ b/bin/setbg @@ -105,7 +105,7 @@ my %opts = ( my %totals; -sub displayStats () { +sub displayStats() { my $statsFile = Logger->new( name => ".$FindBin::Script.stats", path => $ENV{HOME}, @@ -125,7 +125,7 @@ sub displayStats () { return; } # displayStats -sub fillPictures () { +sub fillPictures($signame = undef) { my @images; $totals{bgdirs} = 0; @@ -162,7 +162,7 @@ sub writeHistory($msg) { close $hist; } # writeHistory -sub writeSetBG ($filename, $image) { +sub writeSetBG($filename, $image) { open my $file, '>', $filename or error "Unable to open $filename for writing - $!", 1; @@ -183,7 +183,7 @@ sub updateSetBG($bgimage, $lockimage) { return; } # updateSetBG -sub SwitchWallPaper { +sub SwitchWallPaper($saigname) { # We don't need to do anything here, just handle the interrupt and # let the while loop continue. debug 'SwitchWallPaper: Interrupt received';