1 .de Vb \" Begin verbatim text
6 .de Ve \" End verbatim text
11 .TH i3status 1 "JUNE 2009" Linux "User Manuals"
14 i3status \- Generates a status line for dzen2
23 is a small program (around 500 SLOC) for filling dzen2. It is designed to be
24 very efficient by issuing a very small number of systemcalls (as the bar should
25 be updated every second or at your specified interval). This ensures that even
26 under high load, your status bar is updated correctly and it saves a little bit
27 of battery life by not spawning new processes every second like shell scripts do.
32 Specifies the name of your WLAN interface (e.g. wlan0 or ath0 or eth1). Don't
33 specify if you don't have a WLAN interface or if it should not be displayed.
37 Specifies the name of your ethernet interface (e.g. eth0). Don't specify if you
38 don't have an ethernet interface or if it should not be displayed.
42 Format for the time/date to be displayed. See strftime(3) or date(1). Don't
43 specify it if you don't want the time to be shown.
47 The number of the battery you want to display. This option can be specified
48 multiple times to display multiple batteries. Don't specify it if you don't
49 have a battery. To get the number of the specific battery, see
50 /sys/class/power_supply/BAT*
52 If you want i3status to use the last full capacity instead of the design capacity
53 of the battery, specify the f-flag, like this:
56 # Use the last full capacity
62 You can specify this directive multiple times. Each line first has a name (one
63 word, separated by space) followed by a path (can contain wildcards, given to
64 glob(3)). The path is the path to a PID-file which contains just the process ID
65 of a process. i3status will then check if the process is still running and
66 displays "yes" or "no" depending on the status. This is useful for displaying
67 if your VPN is running, or dhclient for DHCP and so on...
71 Followed by a comma separated list of the modules (run, wlan, eth, battery,
72 load, time) this directive specifies the order of the information which should
73 be displayed. An order is accomplished by prefixing the files in wmii's /rbar
74 directory with a number, that is 0VPN, 1DHCP, 2time and so on..
78 If specified, color mode is on. This affects WLAN which will be displayed red
79 if WLAN is down and the run_watch system which will display the status in
84 Get current speed of the ethernet interface using the same mechanism as
85 ethtool. You need to start i3status with root privileges to use this.
88 .B get_cpu_temperature
89 Gets the temperature of the first thermal zone or the specified thermal zone
90 (if any). Use it to display your CPU temperature.
94 Specifies the colors for background/border in the same format (html colorcodes)
95 as wmii's configuration (just the last two values), that is #222222 #333333 for
96 example. Text color will be determined automatically (red/green/#888888),
101 Specifies the interval in which the status bar will be updated. If you got a
102 very slow system or feel you don't need so much information, you may want to
107 .B /etc/i3status.conf
108 System-wide configuration file.
110 .SH EXAMPLE CONFIGURATION
115 \&time_format %d.%m.%Y %H:%M:%S
118 \&run_watch DHCP /var/run/dhclient*.pid
119 \&run_watch VPN /var/run/vpnc*.pid
120 \&order run,wlan,eth,battery,load,time
121 \&normcolors #000000 #333333
123 \&get_cpu_temperature
127 Sometimes, i3status crashes when the wlan interface vanishes (killswitch). I
128 haven't yet found the bug, as it is not reproducible. If you can reproduce
129 this, please fix it and send me a patch.
137 Michael Stapelberg <michael+i3status at stapelberg dot de>
139 Thorsten Toepper <atsutane at freethoughts dot de>
142 See http://i3.zekjur.net/i3status for the newest release.