aboutsummaryrefslogtreecommitdiff
path: root/slock.1
diff options
context:
space:
mode:
authorDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2024-02-26 20:23:19 -0800
committerDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2025-12-15 10:48:29 -0800
commitabb4c2dc7225c188586f4413089e811f12a0c87b (patch)
tree2d801382c1614b96ce449f73a11292578713d43d /slock.1
parent3791a996e230aec59d61faea46634ae4f031e359 (diff)
downloadslock-abb4c2dc7225c188586f4413089e811f12a0c87b.tar.gz
slock-abb4c2dc7225c188586f4413089e811f12a0c87b.tar.xz
add ability to fork and print PID after locking
Diffstat (limited to 'slock.1')
-rw-r--r--slock.15
1 files changed, 5 insertions, 0 deletions
diff --git a/slock.1 b/slock.1
index 40c15e1..08b62b9 100644
--- a/slock.1
+++ b/slock.1
@@ -6,6 +6,7 @@
.Nd simple X screen locker
.Sh SYNOPSIS
.Nm
+.Op Fl f Op Fl p
.Op Fl v
.Op Ar cmd Op Ar arg ...
.Sh DESCRIPTION
@@ -17,6 +18,10 @@ is executed after the screen has been locked.
.Pp
The options are as follows:
.Bl -tag -width Ds
+.It Fl f
+Fork and exit parent process after locking screen.
+.It Fl p
+Print child PID to stdout after forking.
.It Fl v
Print version information to stdout and exit.
.El