summaryrefslogtreecommitdiff
path: root/slstatus.1
diff options
context:
space:
mode:
authorDaniel Moch <daniel@danielmoch.com>2020-06-23 16:35:43 -0400
committerAaron Marcher <me@drkhsh.at>2020-11-30 21:23:56 +0100
commitaaf279f6ddfb48146fc1a579efd83a55722910b5 (patch)
treea6dd7a1eb4bada70f67f52a9c58903de7d28171c /slstatus.1
parentd1b23e5509863fd0790261b2b388e687d5218d53 (diff)
downloadslstatus-aaf279f6ddfb48146fc1a579efd83a55722910b5.tar.gz
Add a -1 option flag
Allow slstatus to be used by programs that can grab status by calling an external program on a periodic basis (e.g. tmux)
Diffstat (limited to 'slstatus.1')
-rw-r--r--slstatus.15
1 files changed, 4 insertions, 1 deletions
diff --git a/slstatus.1 b/slstatus.1
index da1a99a..d802037 100644
--- a/slstatus.1
+++ b/slstatus.1
@@ -1,4 +1,4 @@
-.Dd 2017-08-10
+.Dd 2020-06-23
.Dt SLSTATUS 1
.Os
.Sh NAME
@@ -7,6 +7,7 @@
.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
@@ -18,6 +19,8 @@ outputs to WM_NAME.
.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