From 02abc978cf52a7b64e5379eeb42ade623e742862 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Thu, 25 Aug 2011 22:55:24 +0200 Subject: [PATCH] update _docs/i3status.man --- _docs/i3status.man | 15 +++++++++++++++ i3status/manpage.html | 22 ++++++++++++++++++++-- 2 files changed, 35 insertions(+), 2 deletions(-) diff --git a/_docs/i3status.man b/_docs/i3status.man index 0c81f16..eeb8d73 100644 --- a/_docs/i3status.man +++ b/_docs/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 : +do + read line + echo "mystuff | $line" +done | i3bar -d +-------------------------------------------------------------- + == SEE ALSO +strftime(3)+, +date(1)+, +glob(3)+, +dzen2(1)+, +xmobar(1)+ diff --git a/i3status/manpage.html b/i3status/manpage.html index b2402fa..bb92b38 100644 --- a/i3status/manpage.html +++ b/i3status/manpage.html @@ -2,6 +2,7 @@ "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> + i3: i3status(1) @@ -347,13 +348,30 @@ is set to xmobar.

-

8. SEE ALSO

+

8. 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 :
+do
+        read line
+        echo "mystuff | $line"
+done | i3bar -d
+
+
+
+
+

9. SEE ALSO

strftime(3), date(1), glob(3), dzen2(1), xmobar(1)

-

9. AUTHORS

+

10. AUTHORS

Michael Stapelberg and contributors

Thorsten Toepper

-- 2.39.2