summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordrkhsh <me@drkhsh.at>2023-04-23 23:43:14 +0200
committerRafael Marçalo <raroma09@gmail.com>2023-04-25 00:57:20 +0100
commit76e4f43a7e738be54fedfad2fb02668a64036da5 (patch)
treed52fbb81d91b2eead9d0ad0affcd89bf6c9f2264
parent75d6eec0d763f2491021417583aafe1771341a30 (diff)
manpage: Quality improvements
Adds signals section to the manpage and generally improves contents and wording
-rw-r--r--slstatus.125
1 files changed, 21 insertions, 4 deletions
diff --git a/slstatus.1 b/slstatus.1
index d802037..bea2a8c 100644
--- a/slstatus.1
+++ b/slstatus.1
@@ -1,17 +1,22 @@
-.Dd 2020-06-23
+.Dd 2023-04-23
.Dt SLSTATUS 1
.Os
.Sh NAME
.Nm slstatus
-.Nd suckless status monitor
+.Nd suckless status
.Sh SYNOPSIS
.Nm
.Op Fl s
.Op Fl 1
.Sh DESCRIPTION
.Nm
-is a suckless status monitor for window managers that use WM_NAME (e.g. dwm) or
-stdin to fill the status bar.
+is a small tool for providing system status information to other programs
+over the EWMH
+.Em WM_NAME
+property of the root window (used by
+.Xr dwm 1 ) or standard input/output. It is designed to be as efficient as possible by
+only issuing the minimum of system calls required.
+.P
By default,
.Nm
outputs to WM_NAME.
@@ -26,3 +31,15 @@ Write once to stdout and quit.
.Nm
can be customized by creating a custom config.h and (re)compiling the source
code. This keeps it fast, secure and simple.
+.Sh SIGNALS
+.Nm
+responds to the following signals:
+.Pp
+.Bl -tag -width TERM -compact
+.It USR1
+Triggers an instant redraw.
+.El
+.Sh AUTHORS
+See the LICENSE file for the authors.
+.Sh SEE ALSO
+.Xr dwm 1