summaryrefslogtreecommitdiff
path: root/slock/slock.1
diff options
context:
space:
mode:
authorSoominIm <111330163+SoominIm@users.noreply.github.com>2024-04-06 20:26:03 -0500
committerSoominIm <111330163+SoominIm@users.noreply.github.com>2024-04-06 20:26:03 -0500
commit6b71c978fd56367f0fb339d4039896ed2af0cb0b (patch)
tree86fb89a7c4f5a999752f5a0c95c4c479bdd55f1a /slock/slock.1
parent3588cbd9e548351ac37ca8946f93c4603d6b7307 (diff)
Updates dwm, st, dmenu, slock, and dwmblocks
Diffstat (limited to 'slock/slock.1')
-rw-r--r--[-rwxr-xr-x]slock/slock.130
1 files changed, 14 insertions, 16 deletions
diff --git a/slock/slock.1 b/slock/slock.1
index 40c15e1..541a264 100755..100644
--- a/slock/slock.1
+++ b/slock/slock.1
@@ -1,45 +1,43 @@
-.Dd October 6, 2023
+.Dd 2016-08-23
.Dt SLOCK 1
-.Os
.Sh NAME
.Nm slock
.Nd simple X screen locker
.Sh SYNOPSIS
.Nm
.Op Fl v
+.Op Fl m Ar message
.Op Ar cmd Op Ar arg ...
.Sh DESCRIPTION
.Nm
-is a simple X screen locker.
-If provided,
-.Ar cmd
+is a simple X screen locker. If provided,
+.Ar cmd Op Ar arg ...
is executed after the screen has been locked.
-.Pp
-The options are as follows:
+.Sh OPTIONS
.Bl -tag -width Ds
.It Fl v
Print version information to stdout and exit.
+.It Fl m Ar message
+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
+.Bd -literal -offset left
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.