forked from lliuaotian/At-config
-
Notifications
You must be signed in to change notification settings - Fork 0
/
i3status.conf
60 lines (51 loc) · 1.24 KB
/
i3status.conf
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
# 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
}
# order += "ipv6"
# order += "disk /"
order += "wireless _first_"
order += "ethernet _first_"
order += "battery all"
order += "load"
order += "tztime local"
wireless _first_ {
format_up = "W: (%quality at %essid) %ip"
format_down = "Wlan: No connect"
}
ethernet _first_ {
# if you use %speed, i3status requires root privileges
format_up = "E: %ip (%speed)"
format_down = "E: No connect"
}
battery all {
# 充电
status_chr = "💓"
# 放电
status_bat = "❣️"
# 未知
status_unk = "?"
# 满电
status_full = "❤️"
# 电池数据的路径
path = "/sys/class/power_supply/BAT%d/uevent"
# 电池坚持剩余分钟数警报
low_threshold = 30
# 检测类型
format = "%status %percentage %remaining"
}
tztime local {
format = "%Y-%m-%d"
}
load {
format = "%1min"
}
disk "/" {
format = "%avail"
}