]> git.sur5r.net Git - i3/i3status/blob - i3status.conf
Pass the "instance" JSON property key for tztime blocks
[i3/i3status] / i3status.conf
1 # i3status configuration file.
2 # see "man i3status" for documentation.
3
4 # It is important that this file is edited as UTF-8.
5 # The following line should contain a sharp s:
6 # ß
7 # If the above line is not correctly displayed, fix your editor first!
8
9 general {
10         colors = true
11         interval = 5
12 }
13
14 order += "ipv6"
15 order += "disk /"
16 order += "run_watch DHCP"
17 order += "run_watch VPN"
18 order += "wireless _first_"
19 order += "ethernet _first_"
20 order += "battery 0"
21 order += "load"
22 order += "tztime local"
23
24 wireless _first_ {
25         format_up = "W: (%quality at %essid) %ip"
26         format_down = "W: down"
27 }
28
29 ethernet _first_ {
30         # if you use %speed, i3status requires root privileges
31         format_up = "E: %ip (%speed)"
32         format_down = "E: down"
33 }
34
35 battery 0 {
36         format = "%status %percentage %remaining"
37 }
38
39 run_watch DHCP {
40         pidfile = "/var/run/dhclient*.pid"
41 }
42
43 run_watch VPN {
44         pidfile = "/var/run/vpnc/pid"
45 }
46
47 tztime local {
48         format = "%Y-%m-%d %H:%M:%S"
49 }
50
51 load {
52         format = "%1min"
53 }
54
55 disk "/" {
56         format = "%avail"
57 }