summaryrefslogtreecommitdiff
path: root/.config/i3status/config
blob: f0b9c6c21e9d1ef5717b042202536b6f65908dc3 (plain)
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
# i3status configuration file.
# see "man i3status" for documentation.

# It is important that this file is edited as UTF-8.
# The following line should contain a sharp s:
# ß
# If the above line is not correctly displayed, fix your editor first!

general {
        colors = true
        interval = 5
        output_format = "i3bar"
}

# order += "ipv6"
order += "disk /"
# order += "wireless _first_"
# order += "ethernet _first_"
order += "battery all"
order += "load"
order += "volume master"
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"
#         format_down = "E: down"
# }

battery all {
        format = "%status %percentage %remaining"
        last_full_capacity = true
        hide_seconds = true
        integer_battery_capacity = true
        # the life of a Li-ion battery is best preserved by cycling it
        # from around 80% down to 25%, and back
        # http://batteryuniversity.com/learn/article/how_to_prolong_lithium_based_batteries
        low_threshold = 25
        threshold_type = percentage
}

tztime local {
        # format = "%Y-%m-%d %a %-l:%M%#p %Z"
        format = "%-d/%b %-l:%M%#p %Z"
}

load {
        format = "%1min"
}

disk "/" {
        format = "%avail"
        prefix_type = binary
        low_threshold = 5
        threshold_type = gbytes_avail
}

volume master {
        format = "%volume"
        format_muted = "muted (%volume)"
        color_degraded = '#000000'
        device = "default"
        mixer = "Master"
        mixer_idx = 0
}