From: Michael Stapelberg Date: Thu, 17 Nov 2011 00:12:17 +0000 (+0000) Subject: update i3status/manpage.html X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=8758f9d9af025151449a7a72ebc10d0e6328fc02;p=i3%2Fi3.github.io update i3status/manpage.html --- diff --git a/_docs/i3status.man b/_docs/i3status.man index eeb8d73..89bf9d5 100644 --- a/_docs/i3status.man +++ b/_docs/i3status.man @@ -216,11 +216,11 @@ Gets the percentual CPU usage from +/proc/stat+. === Load Gets the system load (number of processes waiting for CPU time in the last -5, 10 and 15 minutes). +1, 5 and 15 minutes). *Example order*: +load+ -*Example format*: +%5min %10min %15min+ +*Example format*: +%1min %5min %15min+ === Time @@ -289,13 +289,18 @@ use your shell, for example like this: *Example for prepending the i3status output*: -------------------------------------------------------------- +#!/bin/sh +# shell script to prepend i3status with more stuff + i3status | while : do read line echo "mystuff | $line" -done | i3bar -d +done -------------------------------------------------------------- +Put that in some script, say +.bin/my_i3status.sh+ and execute that instead of i3status. + == SEE ALSO +strftime(3)+, +date(1)+, +glob(3)+, +dzen2(1)+, +xmobar(1)+ diff --git a/i3status/manpage.html b/i3status/manpage.html index bb92b38..68608d9 100644 --- a/i3status/manpage.html +++ b/i3status/manpage.html @@ -284,9 +284,9 @@ just specify last_full_capacity = true.

5.10. Load

Gets the system load (number of processes waiting for CPU time in the last -5, 10 and 15 minutes).

+1, 5 and 15 minutes).

Example order: load

-

Example format: %5min %10min %15min

+

Example format: %1min %5min %15min

5.11. Time

@@ -356,12 +356,16 @@ use your shell, for example like this:

Example for prepending the i3status output:

-
i3status | while :
+
#!/bin/sh
+# shell script to prepend i3status with more stuff
+
+i3status | while :
 do
         read line
         echo "mystuff | $line"
-done | i3bar -d
+done
+

Put that in some script, say .bin/my_i3status.sh and execute that instead of i3status.