aboutsummaryrefslogtreecommitdiffstats
path: root/i3/.i3status.conf
blob: 5a9172954d7ec8936de6bc9b359d181003f6df3e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
general {
#        output_format = "xmobar"
        output_format = "i3bar"
        color_good = "#468f3d"
        color_degraded = "#E5871F"
        color_bad = "#C83839"
        colors = true
        interval = 5
}

# order += "ipv6"
# order += "disk /"
# order += "run_watch DHCP"
order += "run_watch VPN"
order += "wireless _first_"
# order += "ethernet _first_"
order += "battery 0"
order += "load"
order += "volume master"
order += "tztime utc"
order += "tztime local"

wireless _first_ {
        format_up = "W: (%quality at %essid) %ip"
        format_down = "W: down"
}

ethernet _first_ {
        # if you use %speed, i3status requires root privileges
        format_up = "E: %ip (%speed)"
        format_down = "E: down"
}

battery 0 {
        format = "%status %percentage %remaining"
        format_down = "No battery"
        status_chr = "🔌 CHR"
        status_bat = "🔋 BAT"
        status_unk = "? UNK"
        status_full = "🔌 FULL"
        path = "/sys/class/power_supply/BAT%d/uevent"
        low_threshold = 10
}

run_watch DHCP {
        pidfile = "/var/run/dhclient*.pid"
}

run_watch VPN {
        pidfile = "/run/openvpn/openvpn.pid"
}

tztime local {
        format = "%Y-%m-%d %H:%M:%S %Z"
}

tztime utc {
        format = "%Y-%m-%d %H:%M:%S %Z"
        timezone = "Etc/UTC"
}

load {
        format = "%1min"
}

disk "/" {
        format = "%avail"
}

volume master {
        format = "♪: %volume"
        format_muted = "♪: muted (%volume)"
        device = "default"
        mixer = "Master"
        mixer_idx = 0
}