emacs: display time and battery in mode-line
[~bandali/configs] / .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 output_format = "i3bar"
13 }
14
15 # order += "ipv6"
16 order += "disk /"
17 order += "disk /data"
18 order += "wireless _first_"
19 order += "ethernet _first_"
20 order += "battery 0"
21 order += "volume master"
22 # order += "load"
23 order += "tztime local"
24
25 wireless _first_ {
26 format_up = "W:%quality %essid %ip"
27 format_down = "W: down"
28 }
29
30 ethernet _first_ {
31 # if you use %speed, i3status requires root privileges
32 # format_up = "E: %ip (%speed)"
33 format_up = "E: %ip"
34 format_down = "E: down"
35 }
36
37 battery 0 {
38 format = "%status %percentage %remaining %consumption"
39 path = "/sys/class/power_supply/BAT%d/uevent"
40 low_threshold = "10"
41 threshold_type = "percentage"
42 last_full_capacity = true
43 integer_battery_capacity = true
44 hide_seconds = true
45 }
46
47 tztime local {
48 format = "%A %Y-%m-%d %I:%M %p"
49 }
50
51 volume master {
52 format = "♪ %volume"
53 format_muted = "🔇 %volume"
54 device = "pulse"
55 }
56
57 load {
58 format = "%1min"
59 }
60
61 disk "/" {
62 format = "/ %avail"
63 }
64
65 disk "/data" {
66 format = "/data %avail"
67 }