1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
\r
2 "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
\r
3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
\r
5 <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" />
\r
6 <meta name="generator" content="AsciiDoc 8.6.4" />
\r
7 <title>i3status(1)</title>
\r
8 <style type="text/css">
\r
9 /* Sans-serif font. */
\r
10 h1, h2, h3, h4, h5, h6,
\r
11 div.title, caption.title,
\r
12 thead, p.table.header,
\r
14 span#author, span#revnumber, span#revdate, span#revremark,
\r
16 font-family: Arial,Helvetica,sans-serif;
\r
21 font-family: Georgia,"Times New Roman",Times,serif;
\r
24 /* Monospace font. */
\r
30 margin: 1em 5% 1em 5%;
\r
35 text-decoration: underline;
\r
56 h1, h2, h3, h4, h5, h6 {
\r
59 margin-bottom: 0.5em;
\r
64 border-bottom: 2px solid silver;
\r
81 border: 1px solid silver;
\r
86 margin-bottom: 0.5em;
\r
92 ul > li { color: #aaa; }
\r
93 ul > li > * { color: black; }
\r
107 span#revnumber, span#revdate, span#revremark {
\r
112 border-top: 2px solid silver;
\r
113 padding-top: 0.5em;
\r
118 padding-bottom: 0.5em;
\r
120 div#footer-badges {
\r
122 padding-bottom: 0.5em;
\r
127 margin-bottom: 1.5em;
\r
129 div.tableblock, div.imageblock, div.exampleblock, div.verseblock,
\r
130 div.quoteblock, div.literalblock, div.listingblock, div.sidebarblock,
\r
131 div.admonitionblock {
\r
133 margin-bottom: 1.5em;
\r
135 div.admonitionblock {
\r
137 margin-bottom: 2.0em;
\r
142 div.content { /* Block element content. */
\r
146 /* Block element titles. */
\r
147 div.title, caption.title {
\r
152 margin-bottom: 0.5em;
\r
158 td div.title:first-child {
\r
161 div.content div.title:first-child {
\r
164 div.content + div.title {
\r
168 div.sidebarblock > div.content {
\r
169 background: #ffffee;
\r
170 border: 1px solid #dddddd;
\r
171 border-left: 4px solid #f0f0f0;
\r
175 div.listingblock > div.content {
\r
176 border: 1px solid #dddddd;
\r
177 border-left: 5px solid #f0f0f0;
\r
178 background: #f8f8f8;
\r
182 div.quoteblock, div.verseblock {
\r
183 padding-left: 1.0em;
\r
184 margin-left: 1.0em;
\r
186 border-left: 5px solid #f0f0f0;
\r
190 div.quoteblock > div.attribution {
\r
191 padding-top: 0.5em;
\r
195 div.verseblock > pre.content {
\r
196 font-family: inherit;
\r
197 font-size: inherit;
\r
199 div.verseblock > div.attribution {
\r
200 padding-top: 0.75em;
\r
203 /* DEPRECATED: Pre version 8.2.7 verse style literal block. */
\r
204 div.verseblock + div.attribution {
\r
208 div.admonitionblock .icon {
\r
209 vertical-align: top;
\r
212 text-decoration: underline;
\r
214 padding-right: 0.5em;
\r
216 div.admonitionblock td.content {
\r
217 padding-left: 0.5em;
\r
218 border-left: 3px solid #dddddd;
\r
221 div.exampleblock > div.content {
\r
222 border-left: 3px solid #dddddd;
\r
223 padding-left: 0.5em;
\r
226 div.imageblock div.content { padding-left: 0; }
\r
227 span.image img { border-style: none; }
\r
228 a.image:visited { color: white; }
\r
232 margin-bottom: 0.8em;
\r
237 font-style: normal;
\r
240 dd > *:first-child {
\r
245 list-style-position: outside;
\r
248 list-style-type: decimal;
\r
251 list-style-type: lower-alpha;
\r
254 list-style-type: upper-alpha;
\r
257 list-style-type: lower-roman;
\r
260 list-style-type: upper-roman;
\r
263 div.compact ul, div.compact ol,
\r
264 div.compact p, div.compact p,
\r
265 div.compact div, div.compact div {
\r
267 margin-bottom: 0.1em;
\r
270 div.tableblock > table {
\r
271 border: 3px solid #527bbd;
\r
273 thead, p.table.header {
\r
286 /* Because the table frame attribute is overriden by CSS in most browsers. */
\r
287 div.tableblock > table[frame="void"] {
\r
288 border-style: none;
\r
290 div.tableblock > table[frame="hsides"] {
\r
291 border-left-style: none;
\r
292 border-right-style: none;
\r
294 div.tableblock > table[frame="vsides"] {
\r
295 border-top-style: none;
\r
296 border-bottom-style: none;
\r
302 margin-bottom: 0.8em;
\r
305 padding-bottom: 15px;
\r
307 dt.hdlist1.strong, td.hdlist1.strong {
\r
311 vertical-align: top;
\r
312 font-style: normal;
\r
313 padding-right: 0.8em;
\r
317 vertical-align: top;
\r
319 div.hdlist.compact tr {
\r
325 background: yellow;
\r
328 .footnote, .footnoteref {
\r
332 span.footnote, span.footnoteref {
\r
333 vertical-align: super;
\r
337 margin: 20px 0 20px 0;
\r
338 padding: 7px 0 0 0;
\r
341 #footnotes div.footnote {
\r
347 border-top: 1px solid silver;
\r
356 padding-right: 0.5em;
\r
357 padding-bottom: 0.3em;
\r
358 vertical-align: top;
\r
360 div.colist td img {
\r
365 div#footer-badges { display: none; }
\r
369 margin-bottom: 2.5em;
\r
377 margin-bottom: 0.1em;
\r
380 div.toclevel1, div.toclevel2, div.toclevel3, div.toclevel4 {
\r
397 span.aqua { color: aqua; }
\r
398 span.black { color: black; }
\r
399 span.blue { color: blue; }
\r
400 span.fuchsia { color: fuchsia; }
\r
401 span.gray { color: gray; }
\r
402 span.green { color: green; }
\r
403 span.lime { color: lime; }
\r
404 span.maroon { color: maroon; }
\r
405 span.navy { color: navy; }
\r
406 span.olive { color: olive; }
\r
407 span.purple { color: purple; }
\r
408 span.red { color: red; }
\r
409 span.silver { color: silver; }
\r
410 span.teal { color: teal; }
\r
411 span.white { color: white; }
\r
412 span.yellow { color: yellow; }
\r
414 span.aqua-background { background: aqua; }
\r
415 span.black-background { background: black; }
\r
416 span.blue-background { background: blue; }
\r
417 span.fuchsia-background { background: fuchsia; }
\r
418 span.gray-background { background: gray; }
\r
419 span.green-background { background: green; }
\r
420 span.lime-background { background: lime; }
\r
421 span.maroon-background { background: maroon; }
\r
422 span.navy-background { background: navy; }
\r
423 span.olive-background { background: olive; }
\r
424 span.purple-background { background: purple; }
\r
425 span.red-background { background: red; }
\r
426 span.silver-background { background: silver; }
\r
427 span.teal-background { background: teal; }
\r
428 span.white-background { background: white; }
\r
429 span.yellow-background { background: yellow; }
\r
431 span.big { font-size: 2em; }
\r
432 span.small { font-size: 0.6em; }
\r
434 <script type="text/javascript">
\r
436 window.onload = function(){asciidoc.footnotes();}
\r
437 var asciidoc = { // Namespace.
\r
439 /////////////////////////////////////////////////////////////////////
\r
440 // Table Of Contents generator
\r
441 /////////////////////////////////////////////////////////////////////
\r
443 /* Author: Mihai Bazon, September 2002
\r
444 * http://students.infoiasi.ro/~mishoo
\r
446 * Table Of Content generator
\r
449 * Feel free to use this script under the terms of the GNU General Public
\r
450 * License, as long as you do not remove or alter this notice.
\r
453 /* modified by Troy D. Hanson, September 2006. License: GPL */
\r
454 /* modified by Stuart Rackham, 2006, 2009. License: GPL */
\r
456 // toclevels = 1..4.
\r
457 toc: function (toclevels) {
\r
459 function getText(el) {
\r
461 for (var i = el.firstChild; i != null; i = i.nextSibling) {
\r
462 if (i.nodeType == 3 /* Node.TEXT_NODE */) // IE doesn't speak constants.
\r
464 else if (i.firstChild != null)
\r
465 text += getText(i);
\r
470 function TocEntry(el, text, toclevel) {
\r
473 this.toclevel = toclevel;
\r
476 function tocEntries(el, toclevels) {
\r
477 var result = new Array;
\r
478 var re = new RegExp('[hH]([2-'+(toclevels+1)+'])');
\r
479 // Function that scans the DOM tree for header elements (the DOM2
\r
480 // nodeIterator API would be a better technique but not supported by all
\r
482 var iterate = function (el) {
\r
483 for (var i = el.firstChild; i != null; i = i.nextSibling) {
\r
484 if (i.nodeType == 1 /* Node.ELEMENT_NODE */) {
\r
485 var mo = re.exec(i.tagName);
\r
486 if (mo && (i.getAttribute("class") || i.getAttribute("className")) != "float") {
\r
487 result[result.length] = new TocEntry(i, getText(i), mo[1]-1);
\r
497 var toc = document.getElementById("toc");
\r
498 var entries = tocEntries(document.getElementById("content"), toclevels);
\r
499 for (var i = 0; i < entries.length; ++i) {
\r
500 var entry = entries[i];
\r
501 if (entry.element.id == "")
\r
502 entry.element.id = "_toc_" + i;
\r
503 var a = document.createElement("a");
\r
504 a.href = "#" + entry.element.id;
\r
505 a.appendChild(document.createTextNode(entry.text));
\r
506 var div = document.createElement("div");
\r
507 div.appendChild(a);
\r
508 div.className = "toclevel" + entry.toclevel;
\r
509 toc.appendChild(div);
\r
511 if (entries.length == 0)
\r
512 toc.parentNode.removeChild(toc);
\r
516 /////////////////////////////////////////////////////////////////////
\r
517 // Footnotes generator
\r
518 /////////////////////////////////////////////////////////////////////
\r
520 /* Based on footnote generation code from:
\r
521 * http://www.brandspankingnew.net/archive/2005/07/format_footnote.html
\r
524 footnotes: function () {
\r
525 var cont = document.getElementById("content");
\r
526 var noteholder = document.getElementById("footnotes");
\r
527 var spans = cont.getElementsByTagName("span");
\r
530 for (i=0; i<spans.length; i++) {
\r
531 if (spans[i].className == "footnote") {
\r
533 // Use [\s\S] in place of . so multi-line matches work.
\r
534 // Because JavaScript has no s (dotall) regex flag.
\r
535 note = spans[i].innerHTML.match(/\s*\[([\s\S]*)]\s*/)[1];
\r
536 noteholder.innerHTML +=
\r
537 "<div class='footnote' id='_footnote_" + n + "'>" +
\r
538 "<a href='#_footnoteref_" + n + "' title='Return to text'>" +
\r
539 n + "</a>. " + note + "</div>";
\r
540 spans[i].innerHTML =
\r
541 "[<a id='_footnoteref_" + n + "' href='#_footnote_" + n +
\r
542 "' title='View footnote' class='footnote'>" + n + "</a>]";
\r
543 var id =spans[i].getAttribute("id");
\r
544 if (id != null) refs["#"+id] = n;
\r
548 noteholder.parentNode.removeChild(noteholder);
\r
550 // Process footnoterefs.
\r
551 for (i=0; i<spans.length; i++) {
\r
552 if (spans[i].className == "footnoteref") {
\r
553 var href = spans[i].getElementsByTagName("a")[0].getAttribute("href");
\r
554 href = href.match(/#.*/)[0]; // Because IE return full URL.
\r
556 spans[i].innerHTML =
\r
557 "[<a href='#_footnote_" + n +
\r
558 "' title='View footnote' class='footnote'>" + n + "</a>]";
\r
568 <body class="article">
\r
570 <h1>i3status(1)</h1>
\r
571 <span id="author">Michael Stapelberg</span><br />
\r
572 <span id="email"><tt><<a href="mailto:michael+i3@stapelberg.de">michael+i3@stapelberg.de</a>></tt></span><br />
\r
573 <span id="revnumber">version 2.3,</span>
\r
574 <span id="revdate">July 2011</span>
\r
577 <div class="sect1">
\r
578 <h2 id="_name">NAME</h2>
\r
579 <div class="sectionbody">
\r
580 <div class="paragraph"><p>i3status - Generates a status line for dzen2 or xmobar</p></div>
\r
583 <div class="sect1">
\r
584 <h2 id="_synopsis">SYNOPSIS</h2>
\r
585 <div class="sectionbody">
\r
586 <div class="paragraph"><p>i3status [-c configfile] [-h] [-v]</p></div>
\r
589 <div class="sect1">
\r
590 <h2 id="_options">OPTIONS</h2>
\r
591 <div class="sectionbody">
\r
592 <div class="dlist"><dl>
\r
593 <dt class="hdlist1">
\r
598 Specifies an alternate configuration file path. By default, i3status looks for
\r
599 configuration files in the following order:
\r
601 <div class="olist arabic"><ol class="arabic">
\r
609 ~/.config/i3status/config (or $XDG_CONFIG_HOME/i3status/config if set)
\r
619 /etc/xdg/i3status/config (or $XDG_CONFIG_DIRS/i3status/config if set)
\r
627 <div class="sect1">
\r
628 <h2 id="_description">DESCRIPTION</h2>
\r
629 <div class="sectionbody">
\r
630 <div class="paragraph"><p>i3status is a small program (about 1500 SLOC) for generating a status bar for
\r
631 i3bar, dzen2, xmobar or similar programs. It is designed to be very
\r
632 efficient by issuing a very small number of system calls, as one generally
\r
633 wants to update such a status line every second. This ensures that even under
\r
634 high load, your status bar is updated correctly. Also, it saves a bit of energy
\r
635 by not hogging your CPU as much as spawning the corresponding amount of shell
\r
636 commands would.</p></div>
\r
639 <div class="sect1">
\r
640 <h2 id="_configuration">CONFIGURATION</h2>
\r
641 <div class="sectionbody">
\r
642 <div class="paragraph"><p>Since version 2, the configuration file for i3status will be parsed using
\r
643 libconfuse. This makes configuration easier in the programmer’s point of
\r
644 view and more flexible for the user at the same time.</p></div>
\r
645 <div class="paragraph"><p>The basic idea of i3status is that you can specify which "modules" should
\r
646 be used (the order directive). You can then configure each module with its
\r
647 own section. For every module, you can specify the output format. See below
\r
648 for a complete reference.</p></div>
\r
649 <div class="listingblock">
\r
650 <div class="title">Sample configuration</div>
\r
651 <div class="content">
\r
653 output_format = "dzen2"
\r
660 order += "run_watch DHCP"
\r
661 order += "run_watch VPN"
\r
662 order += "wireless wlan0"
\r
663 order += "ethernet eth0"
\r
664 order += "battery 0"
\r
665 order += "cpu_temperature 0"
\r
670 format_up = "W: (%quality at %essid, %bitrate) %ip"
\r
671 format_down = "W: down"
\r
675 # if you use %speed, i3status requires the cap_net_admin capability
\r
676 format_up = "E: %ip (%speed)"
\r
677 format_down = "E: down"
\r
681 format = "%status %percentage %remaining"
\r
682 path = "/sys/class/power_supply/BAT%d/uevent"
\r
686 pidfile = "/var/run/dhclient*.pid"
\r
690 pidfile = "/var/run/vpnc/pid"
\r
694 format = "%Y-%m-%d %H:%M:%S"
\r
701 cpu_temperature 0 {
\r
702 format = "T: %degrees °C"
\r
703 path = "/sys/devices/platform/coretemp.0/temp1_input"
\r
710 <div class="sect2">
\r
711 <h3 id="_general">General</h3>
\r
712 <div class="paragraph"><p>The <tt>colors</tt> directive will disable all colors if you set it to <tt>false</tt>. You can
\r
713 also specify the colors that will be used to display "good", "degraded" or "bad"
\r
714 values using the <tt>color_good</tt>, <tt>color_degraded</tt> or <tt>color_bad</tt> directives,
\r
715 respectively. Those directives are only used if color support is not disabled by
\r
716 the <tt>colors</tt> directive. The input format for color values is the canonical RGB
\r
717 hexadecimal triplet (with no separators between the colors), prefixed by a hash
\r
718 character ("#").</p></div>
\r
719 <div class="paragraph"><p><strong>Example configuration</strong>:</p></div>
\r
720 <div class="listingblock">
\r
721 <div class="content">
\r
722 <pre><tt>color_good = "#00FF00"</tt></pre>
\r
724 <div class="paragraph"><p>Likewise, you can use the <tt>color_separator</tt> directive to specify the color that
\r
725 will be used to paint the separator bar. The separator is always output in
\r
726 color, even when colors are disabled by the <tt>colors</tt> directive.</p></div>
\r
727 <div class="paragraph"><p>The <tt>interval</tt> directive specifies the time in seconds for which i3status will
\r
728 sleep before printing the next status line.</p></div>
\r
729 <div class="paragraph"><p>Using <tt>output_format</tt> you can chose which format strings i3status should
\r
730 use in its output. Currently available are:</p></div>
\r
731 <div class="dlist"><dl>
\r
732 <dt class="hdlist1">
\r
737 Dzen is a general purpose messaging, notification and menuing program for X11.
\r
738 It was designed to be scriptable in any language and integrate well with window
\r
739 managers like dwm, wmii and xmonad though it will work with any windowmanger
\r
742 <dt class="hdlist1">
\r
747 xmobar is a minimalistic, text based, status bar. It was designed to work
\r
748 with the xmonad Window Manager.
\r
751 <dt class="hdlist1">
\r
756 Does not use any color codes. Separates values by the pipe symbol. This should
\r
757 be used with i3bar and can be used for custom scripts.
\r
762 <div class="sect2">
\r
763 <h3 id="_ipv6">IPv6</h3>
\r
764 <div class="paragraph"><p>This module gets the IPv6 address used for outgoing connections (that is, the
\r
765 best available public IPv6 address on your computer).</p></div>
\r
766 <div class="paragraph"><p><strong>Example format_up</strong>: <tt>%ip</tt></p></div>
\r
767 <div class="paragraph"><p><strong>Example format_down</strong> <tt>no IPv6</tt></p></div>
\r
769 <div class="sect2">
\r
770 <h3 id="_disk">Disk</h3>
\r
771 <div class="paragraph"><p>Gets used, free, available and total amount of bytes on the given mounted filesystem.</p></div>
\r
772 <div class="paragraph"><p><strong>Example order</strong>: <tt>disk /mnt/usbstick</tt></p></div>
\r
773 <div class="paragraph"><p><strong>Example format</strong>: <tt>%free (%avail)/ %total</tt></p></div>
\r
775 <div class="sect2">
\r
776 <h3 id="_run_watch">Run-watch</h3>
\r
777 <div class="paragraph"><p>Expands the given path to a pidfile and checks if the process ID found inside
\r
778 is valid (that is, if the process is running). You can use this to check if
\r
779 a specific application, such as a VPN client or your DHCP client is running.</p></div>
\r
780 <div class="paragraph"><p><strong>Example order</strong>: <tt>run_watch DHCP</tt></p></div>
\r
782 <div class="sect2">
\r
783 <h3 id="_wireless">Wireless</h3>
\r
784 <div class="paragraph"><p>Gets the link quality and ESSID of the given wireless network interface. You
\r
785 can specify different format strings for the network being connected or not
\r
786 connected.</p></div>
\r
787 <div class="paragraph"><p><strong>Example order</strong>: <tt>wireless wlan0</tt></p></div>
\r
788 <div class="paragraph"><p><strong>Example format</strong>: <tt>W: (%quality at %essid, %bitrate) %ip</tt></p></div>
\r
790 <div class="sect2">
\r
791 <h3 id="_ethernet">Ethernet</h3>
\r
792 <div class="paragraph"><p>Gets the IP address and (if possible) the link speed of the given ethernet
\r
793 interface. Getting the link speed requires the cap_net_admin capability. Set
\r
794 it using <tt>setcap cap_net_admin=ep $(which i3status)</tt>.</p></div>
\r
795 <div class="paragraph"><p><strong>Example order</strong>: <tt>ethernet eth0</tt></p></div>
\r
796 <div class="paragraph"><p><strong>Example format</strong>: <tt>E: %ip (%speed)</tt></p></div>
\r
798 <div class="sect2">
\r
799 <h3 id="_battery">Battery</h3>
\r
800 <div class="paragraph"><p>Gets the status (charging, discharging, running), percentage and remaining
\r
801 time of the given battery. If you want to use the last full capacity instead
\r
802 of the design capacity (when using the design capacity, it may happen that
\r
803 your battery is at 23% when fully charged because it’s old. In general, I
\r
804 want to see it this way, because it tells me how worn off my battery is.),
\r
805 just specify <tt>last_full_capacity = true</tt>.</p></div>
\r
806 <div class="paragraph"><p>If your battery is represented in a non-standard path in /sys, be sure to
\r
807 modify the "path" property accordingly. The first occurence of %d gets replaced
\r
808 with the battery number, but you can just hard-code a path as well.</p></div>
\r
809 <div class="paragraph"><p><strong>Example order</strong>: <tt>battery 0</tt></p></div>
\r
810 <div class="paragraph"><p><strong>Example format</strong>: <tt>%status %remaining</tt></p></div>
\r
812 <div class="sect2">
\r
813 <h3 id="_cpu_temperature">CPU-Temperature</h3>
\r
814 <div class="paragraph"><p>Gets the temperature of the given thermal zone.</p></div>
\r
815 <div class="paragraph"><p><strong>Example order</strong>: <tt>cpu_temperature 0</tt></p></div>
\r
816 <div class="paragraph"><p><strong>Example format</strong>: <tt>T: %degrees °C</tt></p></div>
\r
818 <div class="sect2">
\r
819 <h3 id="_cpu_usage">CPU Usage</h3>
\r
820 <div class="paragraph"><p>Gets the percentual CPU usage from <tt>/proc/stat</tt>.</p></div>
\r
821 <div class="paragraph"><p><strong>Example order</strong>: <tt>cpu_usage</tt></p></div>
\r
822 <div class="paragraph"><p><strong>Example format</strong>: <tt>%usage</tt></p></div>
\r
824 <div class="sect2">
\r
825 <h3 id="_load">Load</h3>
\r
826 <div class="paragraph"><p>Gets the system load (number of processes waiting for CPU time in the last
\r
827 1, 5 and 15 minutes).</p></div>
\r
828 <div class="paragraph"><p><strong>Example order</strong>: <tt>load</tt></p></div>
\r
829 <div class="paragraph"><p><strong>Example format</strong>: <tt>%1min %5min %15min</tt></p></div>
\r
831 <div class="sect2">
\r
832 <h3 id="_time">Time</h3>
\r
833 <div class="paragraph"><p>Formats the current system time. See <tt>strftime(3)</tt> for the format.</p></div>
\r
834 <div class="paragraph"><p><strong>Example order</strong>: <tt>time</tt></p></div>
\r
835 <div class="paragraph"><p><strong>Example format</strong>: <tt>%Y-%m-%d %H:%M:%S</tt></p></div>
\r
837 <div class="sect2">
\r
838 <h3 id="_ddate">DDate</h3>
\r
839 <div class="paragraph"><p>Outputs the current discordian date in user-specified format. See <tt>ddate(1)</tt> for
\r
840 details on the format string.
\r
841 <strong>Note</strong>: Neither <strong>%.</strong> nor <strong>%X</strong> are implemented yet.</p></div>
\r
842 <div class="paragraph"><p><strong>Example order</strong>: <tt>ddate</tt></p></div>
\r
843 <div class="paragraph"><p><strong>Example format</strong>: <tt>%{%a, %b %d%}, %Y%N - %H</tt></p></div>
\r
845 <div class="sect2">
\r
846 <h3 id="_volume">Volume</h3>
\r
847 <div class="paragraph"><p>Outputs the volume of the specified mixer on the specified device. Works only
\r
848 on Linux because it uses ALSA.</p></div>
\r
849 <div class="paragraph"><p><strong>Example order</strong>: <tt>volume master</tt></p></div>
\r
850 <div class="paragraph"><p><strong>Example format</strong>: <tt>♪: %volume</tt></p></div>
\r
851 <div class="paragraph"><p><strong>Example configuration</strong>:</p></div>
\r
852 <div class="listingblock">
\r
853 <div class="content">
\r
854 <pre><tt>volume master {
\r
855 format = "♪: %volume"
\r
864 <div class="sect1">
\r
865 <h2 id="_using_i3status_with_dzen2">Using i3status with dzen2</h2>
\r
866 <div class="sectionbody">
\r
867 <div class="paragraph"><p>After installing dzen2, you can directly use it with i3status. Just ensure that
\r
868 <tt>output_format</tt> is set to <tt>dzen2</tt>.</p></div>
\r
869 <div class="paragraph"><p><strong>Example for usage of i3status with dzen2</strong>:</p></div>
\r
870 <div class="listingblock">
\r
871 <div class="content">
\r
872 <pre><tt>i3status | dzen2 -fg white -ta r -w 1280 \
\r
873 -fn "-misc-fixed-medium-r-normal--13-120-75-75-C-70-iso8859-1"</tt></pre>
\r
877 <div class="sect1">
\r
878 <h2 id="_using_i3status_with_xmobar">Using i3status with xmobar</h2>
\r
879 <div class="sectionbody">
\r
880 <div class="paragraph"><p>To get xmobar to start, you might need to copy the default configuration
\r
881 file to <tt>~/.xmobarrc</tt>. Also, ensure that the <tt>output_format</tt> option for i3status
\r
882 is set to <tt>xmobar</tt>.</p></div>
\r
883 <div class="paragraph"><p><strong>Example for usage of i3status with xmobar</strong>:</p></div>
\r
884 <div class="listingblock">
\r
885 <div class="content">
\r
886 <pre><tt>i3status | xmobar -o -t "%StdinReader%" -c "[Run StdinReader]"</tt></pre>
\r
890 <div class="sect1">
\r
891 <h2 id="_external_scripts_programs_with_i3status">External scripts/programs with i3status</h2>
\r
892 <div class="sectionbody">
\r
893 <div class="paragraph"><p>In i3status, we don’t want to implement process management again. Therefore,
\r
894 there is no module to run arbitrary scripts or commands. Instead, you should
\r
895 use your shell, for example like this:</p></div>
\r
896 <div class="paragraph"><p><strong>Example for prepending the i3status output</strong>:</p></div>
\r
897 <div class="listingblock">
\r
898 <div class="content">
\r
900 # shell script to prepend i3status with more stuff
\r
905 echo "mystuff | $line"
\r
908 <div class="paragraph"><p>Put that in some script, say <tt>.bin/my_i3status.sh</tt> and execute that instead of i3status.</p></div>
\r
911 <div class="sect1">
\r
912 <h2 id="_see_also">SEE ALSO</h2>
\r
913 <div class="sectionbody">
\r
914 <div class="paragraph"><p><tt>strftime(3)</tt>, <tt>date(1)</tt>, <tt>glob(3)</tt>, <tt>dzen2(1)</tt>, <tt>xmobar(1)</tt></p></div>
\r
917 <div class="sect1">
\r
918 <h2 id="_authors">AUTHORS</h2>
\r
919 <div class="sectionbody">
\r
920 <div class="paragraph"><p>Michael Stapelberg and contributors</p></div>
\r
921 <div class="paragraph"><p>Thorsten Toepper</p></div>
\r
922 <div class="paragraph"><p>Baptiste Daroussin</p></div>
\r
923 <div class="paragraph"><p>Axel Wagner</p></div>
\r
924 <div class="paragraph"><p>Fernando Tarlá Cardoso Lemos</p></div>
\r
928 <div id="footnotes"><hr /></div>
\r
930 <div id="footer-text">
\r
932 Last updated 2011-11-26 19:50:43 CET
\r