Fri, 30 May 2014 09:43:40 -0400
Be more defensive on windows, clean up and add sections
1 | 1 | |
2 | # i3status configuration file. | |
3 | # see "man i3status" for documentation. | |
4 | ||
5 | # It is important that this file is edited as UTF-8. | |
6 | # The following line should contain a sharp s: | |
7 | # ß | |
8 | # If the above line is not correctly displayed, fix your editor first! | |
9 | ||
10 | general { | |
11 | colors = true | |
12 | interval = 5 | |
13 | } | |
14 | ||
15 | order += "ethernet eth0" | |
16 | order += "load" | |
17 | order += "tztime local" | |
18 | ||
19 | wireless wlan0 { | |
20 | format_up = "W: (%quality at %essid) %ip" | |
21 | format_down = "W: down" | |
22 | } | |
23 | ||
24 | ethernet eth0 { | |
25 | # if you use %speed, i3status requires root privileges | |
26 | format_up = "E: %ip (%speed)" | |
27 | format_down = "E: down" | |
28 | } | |
29 | ||
30 | battery 0 { | |
31 | format = "%status %percentage %remaining" | |
32 | } | |
33 | ||
34 | run_watch DHCP { | |
35 | pidfile = "/var/run/dhclient*.pid" | |
36 | } | |
37 | ||
38 | run_watch VPN { | |
39 | pidfile = "/var/run/vpnc/pid" | |
40 | } | |
41 | ||
42 | tztime local { | |
43 | format = "%Y-%m-%d %H:%M:%S" | |
44 | } | |
45 | ||
46 | load { | |
47 | format = "%1min" | |
48 | } | |
49 | ||
50 | disk "/" { | |
51 | format = "%avail" | |
52 | } |