From ee586cfea9c328932255512077882fa8194b50c2 Mon Sep 17 00:00:00 2001 From: drkhsh Date: Sun, 23 Apr 2023 23:43:14 +0200 Subject: [PATCH] manpage: Quality improvements Adds signals section to the manpage and generally improves contents and wording --- slstatus.1 | 25 +++++++++++++++++++++---- 1 file 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