57f69e900b
Even if we extend the flag to be an n-flag with a numerical input, we
already have other Unix-tools to take care of us much more flexibly,
e.g. with head(1) you can easily get the first 10 outputs with
slstatus -s | head -n 10,
but also e.g. discard the first one and then get the consecutive 10
outputs.
For the X11-root-window-name, you can limit the runtime with timeout(1)
or a comparable solution.
This reverts commit fa8b939990
.
26 lines
500 B
Groff
26 lines
500 B
Groff
.Dd 2017-08-10
|
|
.Dt SLSTATUS 1
|
|
.Os
|
|
.Sh NAME
|
|
.Nm slstatus
|
|
.Nd suckless status monitor
|
|
.Sh SYNOPSIS
|
|
.Nm
|
|
.Op Fl s
|
|
.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.
|
|
.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.
|