diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-02-09 03:10:22 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-02-09 03:10:22 +0900 |
| commit | 36f7b343c714566d5bf931e768f0536a12d67c2f (patch) | |
| tree | 2040321e9984b1d8191f144f6b81f05f38acb8d7 /slock/slock.1 | |
| parent | 365403254a39ceac9797e430d4a62ec6c7b2f99c (diff) | |
updates
Diffstat (limited to 'slock/slock.1')
| -rw-r--r-- | slock/slock.1 | 26 |
1 files changed, 16 insertions, 10 deletions
diff --git a/slock/slock.1 b/slock/slock.1 index 541a264..e1476ab 100644 --- a/slock/slock.1 +++ b/slock/slock.1 @@ -1,5 +1,6 @@ -.Dd 2016-08-23 +.Dd October 6, 2023 .Dt SLOCK 1 +.Os .Sh NAME .Nm slock .Nd simple X screen locker @@ -10,10 +11,12 @@ .Op Ar cmd Op Ar arg ... .Sh DESCRIPTION .Nm -is a simple X screen locker. If provided, -.Ar cmd Op Ar arg ... +is a simple X screen locker. +If provided, +.Ar cmd is executed after the screen has been locked. -.Sh OPTIONS +.Pp +The options are as follows: .Bl -tag -width Ds .It Fl v Print version information to stdout and exit. @@ -21,23 +24,26 @@ Print version information to stdout and exit. Overrides default slock lock message. .TP .El +.Sh EXIT STATUS +.Ex -std +.Sh EXAMPLES +$ +.Nm +/usr/sbin/s2ram .Sh SECURITY CONSIDERATIONS To make sure a locked screen can not be bypassed by switching VTs or killing the X server with Ctrl+Alt+Backspace, it is recommended to disable both in .Xr xorg.conf 5 for maximum security: -.Bd -literal -offset left +.Bd -literal Section "ServerFlags" Option "DontVTSwitch" "True" Option "DontZap" "True" EndSection .Ed -.Sh EXAMPLES -$ -.Nm -/usr/sbin/s2ram .Sh CUSTOMIZATION .Nm can be customized by creating a custom config.h from config.def.h and -(re)compiling the source code. This keeps it fast, secure and simple. +(re)compiling the source code. +This keeps it fast, secure and simple. |
