Compare commits
2 Commits
3f54f5f4bc
...
a08cfa4d96
Author | SHA1 | Date |
---|---|---|
John Mertz | a08cfa4d96 | |
John Mertz | 2933abcabb |
|
@ -16,7 +16,7 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$res" == "🔒 Lock" ]; then
|
if [ "$res" == "🔒 Lock" ]; then
|
||||||
${WM}lock -c 1D2021
|
${WM}lock -c 000000
|
||||||
elif [ "$res" == "↩ Logout" ]; then
|
elif [ "$res" == "↩ Logout" ]; then
|
||||||
# Prevent auto-login
|
# Prevent auto-login
|
||||||
rm /home/jpm/.config/last_login_gui
|
rm /home/jpm/.config/last_login_gui
|
||||||
|
|
|
@ -1,5 +1,10 @@
|
||||||
#!/usr/bin/env perl
|
#!/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 strict;
|
||||||
use warnings;
|
use warnings;
|
||||||
use POSIX;
|
use POSIX;
|
||||||
|
@ -29,8 +34,12 @@ are currently enabled will be set.\n
|
||||||
--daemon=N Configures the wallpaper to be periodically rotated for all
|
--daemon=N Configures the wallpaper to be periodically rotated for all
|
||||||
-d N of the given outputs. N indicates the number of seconds between
|
-d N of the given outputs. N indicates the number of seconds between
|
||||||
each rotation, if provided (default: 300).\n
|
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
|
--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);
|
exit(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -296,7 +305,6 @@ if ($settings{daemon}) {
|
||||||
#setpgrp;
|
#setpgrp;
|
||||||
#setsid;
|
#setsid;
|
||||||
umask 0;
|
umask 0;
|
||||||
# TODO: configure systemD logging
|
|
||||||
}
|
}
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
|
@ -331,4 +339,3 @@ if (scalar(@e)) {
|
||||||
}
|
}
|
||||||
|
|
||||||
exit(0);
|
exit(0);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue