X-Git-Url: https://git.xinqibao.xyz/slstatus.git/blobdiff_plain/8fa622975991d1fb539ffab50c98f0d2d7d6da1c..ae8a658d0cf8f12e6633447a53a75d2583b94d46:/slstatus.1 diff --git a/slstatus.1 b/slstatus.1 index afc3505..d802037 100644 --- a/slstatus.1 +++ b/slstatus.1 @@ -1,31 +1,28 @@ -.TH SLSTATUS 1 slstatus -.SH NAME -slstatus \- suckless status -.SH SYNOPSIS -.B slstatus -.RB [ \-dhov ] -.SH DESCRIPTION -slstatus is a suckless and lightweight status monitor for window managers that use WM_NAME as statusbar (e.g. DWM) or any other status bars as long as they support reading from stdin. It is written in pure C without any extern programs being executed and only reads from files most of the time. slstatus is meant to be a better alternative to Bash scripts (inefficient) and Conky (bloated and written in C++). -.SH OPTIONS -.TP -.B \-d -run slstatus as daemon in background -.TP -.B \-h -display help -.TP -.B \-o -output to console instead of WM_NAME -.TP -.B \-v -display version and copyright details -.SH CUSTOMIZATION -.B slstatus +.Dd 2020-06-23 +.Dt SLSTATUS 1 +.Os +.Sh NAME +.Nm slstatus +.Nd suckless status monitor +.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. +By default, +.Nm +outputs to WM_NAME. +.Sh OPTIONS +.Bl -tag -width Ds +.It Fl s +Write to stdout instead of WM_NAME. +.It Fl 1 +Write once to stdout and quit. +.El +.Sh CUSTOMIZATION +.Nm can be customized by creating a custom config.h and (re)compiling the source code. This keeps it fast, secure and simple. -.SH AUTHORS -See the LICENSE file for the authors. -.SH LICENSE -See the LICENSE file for the terms of redistribution. -.SH BUGS -See the FIXME's in the code.