summaryrefslogtreecommitdiff
path: root/swaylock.1.scd
diff options
context:
space:
mode:
authorDaniel De Graaf <code@danieldg.net>2022-05-14 14:23:27 -0400
committerSimon Ser <contact@emersion.fr>2022-09-24 12:15:53 +0200
commitdafbef3ade130317ad0d941f9ce312bb68a708df (patch)
tree0c7e0b043faa3f3096f09e4d1b0a616d53bf63be /swaylock.1.scd
parent605859cdd494b82fe206fe8d4737cda73cb6d467 (diff)
Unlock the screen on SIGUSR1
When the screen is locked using ext_session_lock, killing swaylock will leave the session locked. This is normally desirable if the kill is due to the OOM killer or swaylock crashing, but can be undesirable if an unlock is desired. This adds a signal handler for SIGUSR1 if using ext_session_lock.
Diffstat (limited to 'swaylock.1.scd')
-rw-r--r--swaylock.1.scd5
1 files changed, 5 insertions, 0 deletions
diff --git a/swaylock.1.scd b/swaylock.1.scd
index f8aac67..61691eb 100644
--- a/swaylock.1.scd
+++ b/swaylock.1.scd
@@ -189,6 +189,11 @@ Locks your Wayland session.
*--text-wrong-color* <rrggbb[aa]>
Sets the color of the text when invalid.
+# SIGNALS
+
+*SIGUSR1*
+ Unlock the screen and exit.
+
# AUTHORS
Maintained by Drew DeVault <sir@cmpwn.com>, who is assisted by other open