From 2933abcabbf3c59710484c8e9313e2cd01c1af54 Mon Sep 17 00:00:00 2001 From: John Mertz Date: Sat, 23 Jul 2022 03:58:11 -0400 Subject: [PATCH] Update usage and add some TODO comments --- sway/wallpaper.pl | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/sway/wallpaper.pl b/sway/wallpaper.pl index eec013b..9a39915 100755 --- a/sway/wallpaper.pl +++ b/sway/wallpaper.pl @@ -1,5 +1,10 @@ #!/usr/bin/env perl +# TODO: configure systemD logging +# TODO: refactor sloppy use of global variables +# TODO: clean up debugging output +# TODO: license, etc. + use strict; use warnings; use POSIX; @@ -29,8 +34,12 @@ are currently enabled will be set.\n --daemon=N Configures the wallpaper to be periodically rotated for all -d N of the given outputs. N indicates the number of seconds between each rotation, if provided (default: 300).\n +--nocrop Don't crop a selection from the image. Instead, pass the whole +-n image to swaybg and let it handle the scaling\n --help This menu --h\n"); +-h\n +You can send SIGUSR1 to force the daemon to reload immediately. Rotation timer +will be reset.\n"); exit(0); } @@ -296,7 +305,6 @@ if ($settings{daemon}) { #setpgrp; #setsid; umask 0; - # TODO: configure systemD logging } ################################################################################ @@ -331,4 +339,3 @@ if (scalar(@e)) { } exit(0); -