summaryrefslogtreecommitdiff
path: root/.config/i3status/config
blob: 703213f26500a810c99d268a3b85a36fcc6ab7f5 (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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
# 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 {
	output_format = "i3bar"
	colors = true
	interval = 1
	color_good = "#ffffff"
	color_degraded = "#ffffff"
	color_bad = "#ff5555"
}

#order += "ipv6"
order += "read_file weather"
order += "read_file xbps_update_count"
order += "disk /"
order += "wireless _first_"
order += "ethernet _first_"
#order += "battery all"
order += "volume master"
order += "load"
order += "read_file gpu_usage"
order += "cpu_usage"
order += "memory"
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 all {
	format = "%status %percentage %remaining"
}

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

load {
	format = "LOAD: %1min"
}

cpu_usage {
	max_threshold = 90
	degraded_threshold = 80
	format = "CPU: %usage"
}

memory {
	format = "RAM: %used / %total"
}

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

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

read_file weather {
	format = "%content"
	format_bad = "weather unknown"
	path = "/tmp/weather"
}

read_file xbps_update_count {
	format_bad = "XBPS: unreachable"
	path = "/tmp/xbps_update_count"
}

read_file gpu_usage {
	format_bad = "VRAM: ??|GPU: ??"
	path = "/tmp/gpu_usage"
}