summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorMichael Stapelberg <michael@stapelberg.de>2011-08-25 22:52:50 +0200
committerMichael Stapelberg <michael@stapelberg.de>2011-08-25 22:52:50 +0200
commitdbe8c661f33e9450c6b061abef6a6f2047344a9c (patch)
tree56819eef777c174c99df35003147d8ba16d1e5ba /man
parentefaacee72692a53b291c7488a7ee6493ec4d03ef (diff)
manpage: add example for using external scripts/programs with i3status
Diffstat (limited to 'man')
-rw-r--r--man/i3status.man15
1 files changed, 15 insertions, 0 deletions
diff --git a/man/i3status.man b/man/i3status.man
index 0c81f16..0c86ac3 100644
--- a/man/i3status.man
+++ b/man/i3status.man
@@ -281,6 +281,21 @@ is set to +xmobar+.
i3status | xmobar -o -t "%StdinReader%" -c "[Run StdinReader]"
---------------------------------------------------------------------
+== External scripts/programs with i3status
+
+In i3status, we don’t want to implement process management again. Therefore,
+there is no module to run arbitrary scripts or commands. Instead, you should
+use your shell, for example like this:
+
+*Example for prepending the i3status output*:
+--------------------------------------------------------------
+i3status | while [ 1 ]
+do
+ read line
+ echo "mystuff | $line"
+done | i3bar -d
+--------------------------------------------------------------
+
== SEE ALSO
+strftime(3)+, +date(1)+, +glob(3)+, +dzen2(1)+, +xmobar(1)+