2019-02-16 11:34:08 +01:00
|
|
|
# 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 {
|
2019-02-17 13:52:23 +01:00
|
|
|
output_format = "i3bar"
|
2019-02-16 11:34:08 +01:00
|
|
|
colors = true
|
2019-03-13 21:54:50 +01:00
|
|
|
# 1 is horrible with battery status and possibly unnecessary
|
|
|
|
# weight for older devices. 5 appears to be Debian default, and I
|
|
|
|
# guess it's enough often for seeing if the system is frozen when
|
|
|
|
# staring at a clock.
|
|
|
|
interval = 5
|
2019-02-18 12:03:32 +01:00
|
|
|
# solarized dark copied from https://github.com/tobiaszwaszak/i3wm/blob/master/i3status.conf
|
|
|
|
color_good = "#859900"
|
|
|
|
color_bad = "#dc322f"
|
|
|
|
color_degraded = "#cb4b16"
|
2019-02-16 11:34:08 +01:00
|
|
|
}
|
|
|
|
|
2019-02-17 10:57:26 +01:00
|
|
|
order += "disk /"
|
|
|
|
order += "disk /home"
|
2019-02-16 11:34:08 +01:00
|
|
|
order += "ipv6"
|
|
|
|
order += "volume master"
|
|
|
|
order += "load"
|
|
|
|
order += "wireless _first_"
|
|
|
|
order += "ethernet _first_"
|
|
|
|
order += "battery all"
|
|
|
|
order += "tztime utc"
|
|
|
|
order += "tztime local"
|
|
|
|
|
|
|
|
# Load is first as the treshold may need the most modification here
|
|
|
|
load {
|
|
|
|
format = "%1min %5min %15min"
|
2019-08-28 17:18:30 +02:00
|
|
|
# Defaults to 5, nosmt MDS mitigation disables ½ of the cores
|
|
|
|
# X,7 ? https://scoutapm.com/blog/understanding-load-averages
|
2019-02-17 13:52:23 +01:00
|
|
|
# CHANGEME - apparently whether . or , works depends on locale -.-
|
2019-08-28 17:18:30 +02:00
|
|
|
# Rbtpzn, the oldest machine from 2006, single core
|
2019-02-17 10:57:26 +01:00
|
|
|
#max_threshold = "0,7"
|
2019-08-28 17:18:30 +02:00
|
|
|
# Dualcore, mostly everything else
|
|
|
|
max_threshold = "1,7"
|
|
|
|
# Zaldaryn, quadcore
|
|
|
|
#max_threshold = "3,7"
|
2019-02-16 11:34:08 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
wireless _first_ {
|
|
|
|
#format_up = "W: (%quality at %essid) %frequency %ip"
|
|
|
|
format_up = "W:%quality %frequency"
|
2019-02-16 12:33:22 +01:00
|
|
|
format_down = "W:🢃"
|
2019-02-16 11:34:08 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
ethernet _first_ {
|
|
|
|
# if you use %speed, i3status requires root privileges
|
|
|
|
#format_up = "E: %ip (%speed)"
|
2019-02-16 12:33:22 +01:00
|
|
|
format_up = "E:🢁"
|
|
|
|
format_down = "E:🢃"
|
2019-02-16 11:34:08 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
battery all {
|
2019-03-12 22:31:44 +01:00
|
|
|
# %remaining looks horrible especially with updating every second
|
2019-03-13 21:54:50 +01:00
|
|
|
format = "🔌%status %percentage %remaining"
|
2019-02-16 11:34:08 +01:00
|
|
|
format_down = ""
|
|
|
|
}
|
|
|
|
|
|
|
|
tztime utc {
|
|
|
|
timezone = "UTC"
|
2019-02-18 19:04:14 +01:00
|
|
|
# ISO 8601ish
|
2019-02-21 08:23:00 +01:00
|
|
|
format = "%Z: %Y-%m-%d %H:%M:%S(%z)"
|
2019-02-16 11:34:08 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
tztime local {
|
2019-02-18 19:04:14 +01:00
|
|
|
# Finnishish formatting.
|
|
|
|
format = "%Z: %A %d. %B %Y, %H.%M.%S(%z)"
|
2019-02-16 11:34:08 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
volume master {
|
|
|
|
format = "♪: %volume"
|
|
|
|
format_muted = "♪: muted (%volume)"
|
|
|
|
device = "pulse"
|
|
|
|
}
|
|
|
|
|
|
|
|
ipv6 {
|
2019-03-13 21:54:50 +01:00
|
|
|
format_up = "IPv6:🢁"
|
|
|
|
format_down = "IPv6:🢃"
|
2019-02-16 11:34:08 +01:00
|
|
|
}
|
2019-02-17 10:57:26 +01:00
|
|
|
|
2019-06-28 09:56:31 +02:00
|
|
|
# %avail vs %free: https://github.com/i3/i3status/issues/349#issuecomment-506565599
|
|
|
|
|
2019-02-17 10:57:26 +01:00
|
|
|
disk / {
|
2019-06-28 09:56:31 +02:00
|
|
|
format = "/: %avail"
|
2019-02-17 10:57:26 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
disk /home {
|
2019-06-28 09:56:31 +02:00
|
|
|
format = "/home: %avail"
|
2019-02-17 10:57:26 +01:00
|
|
|
}
|