summaryrefslogtreecommitdiff
path: root/.i3status.conf
blob: df253131467b9e499e34136af2155cf96547ad4c (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
92
# 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 += "read_file hostname"
#order += "ipv6"
order += "wireless _first_"
#order += "ethernet _first_"
order += "battery all"
order += "disk /"
#order += "disk /boot"
order += "cpu_usage"
#order += "load"
order += "memory"
order += "cpu_temperature 0"
order += "tztime local"

read_file hostname {
	format = "%content"
	path = "/etc/hostname"
}

wireless _first_ {
#        format_up = "W: %essid %quality %ip"
        format_up = "W: %essid %quality"
        format_down = "W: down"
}

#ethernet _first_ {
#        format_up = "E: %ip (%speed)"
#        format_down = "E: down"
#}

battery all {
	last_full_capacity = true
	integer_battery_capacity = true
	format = "%status %percentage %remaining"
	threshold_type = "percentage"
	low_threshold = 10
}

#battery 0 {
#	format = "%status %percentage %remaining %emptytime"
#	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
#}

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

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

cpu_usage {
	format = "CPU: %usage"
}

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

memory {
        format = "RAM: %available"
        threshold_degraded = "1G"
        format_degraded = "MEMORY < %available"
}

cpu_temperature 0 {
	format = "T: %degrees °C"
	path = "/sys/class/hwmon/hwmon0/temp1_input"
}

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