summaryrefslogtreecommitdiff
path: root/.i3status.conf
blob: 9570b48145ea28e3f19ce33b5c4a1050898191f6 (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
93
94
95
96
97
98
99
100
101
102
103
104
105
# 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!
# Some icon chars can be found at https://emojipedia.org/objects/

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 = "🌐 %essid %quality"
        #format_up = "📶 %essid %quality"
        format_up = "📡 %essid %quality"
        format_down = "📡 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 %consumption"
	status_chr = "⚡🔋"
        status_bat = "🔋"
        status_unk = "? UNK"
        status_full = "⚡🔋"
	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"
        #format = "💽 %avail"
        format = "/ %avail av."
}

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

cpu_usage {
	format = "CPU %usage"
}

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

memory {
        format = "Mem %available av."
        threshold_degraded = "1G"
        format_degraded = "MEMORY < %available"
}

cpu_temperature 0 {
	format = "🌡%degrees °C"
	#path = "/sys/class/hwmon/hwmon0/temp1_input"
	#path = "/sys/class/hwmon/hwmon6/temp1_input"
	#path = "/sys/class/hwmon/hwmon7/temp1_input"
	#path = "/sys/class/hwmon/hwmon8/temp1_input"
}

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