]> git.donarmstrong.com Git - x_base.git/blob - .config/i3status/config
update battery and format
[x_base.git] / .config / i3status / config
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 += "run_watch DHCP"
16 order += "path_exists VPN"
17 order += "wireless _first_"
18 order += "ethernet _first_"
19 order += "battery 0"
20 order += "battery 1"
21 order += "volume master"
22 order += "load"
23 order += "tztime local"
24
25 wireless _first_ {
26         format_up = "W:%essid (%bitrate)"
27         format_down = ""
28 }
29
30 ethernet etho {
31         # if you use %speed, i3status requires root privileges
32         format_up = "E: %ip (%speed)"
33         format_down = ""
34 }
35
36 battery 0 {
37         format = "%status%percentage %remaining"
38         format_down = ""
39         status_chr =  "C "
40         status_bat = ""
41         status_full = "F "
42 }
43
44 battery 1 {
45         format = "%status%percentage %remaining"
46         format_down = ""
47         status_chr =  "C "
48         status_bat = ""
49         status_full = "F "
50 }
51
52 ipv6 {
53      format_up = "%addr"
54      format_down = ""
55 }
56
57 run_watch DHCP {
58         pidfile = "/var/run/dhclient*.pid"
59         format = "DHCP"
60         format_down = ""
61 }
62
63 path_exists VPN {
64         path = "/proc/sys/net/ipv4/conf/tun0"
65         format = "VPN"
66         format_down = ""
67 }
68
69 tztime local {
70         format = "%Y-%m-%d %H:%M:%S"
71 }
72
73 load {
74         format = "%1min"
75 }
76
77 volume master {
78        format = "🔊%volume"
79        format_muted = "🔇(%volume)"
80        device = "pulse"
81 }