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 {
|
2023-02-21 18:08:54 +01:00
|
|
|
output_format = "i3bar"
|
|
|
|
colors = true
|
|
|
|
# 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
|
|
|
|
# Selenized black from https://github.com/jan-warchol/selenized/blob/master/other-apps/i3/i3status-selenized-black.conf
|
|
|
|
color_good = "#70b433"
|
|
|
|
color_degraded = "#dbb32d"
|
|
|
|
color_bad = "#ed4a46"
|
|
|
|
# Selenized light from https://github.com/jan-warchol/selenized/blob/master/other-apps/i3/i3status-selenized-light.conf
|
|
|
|
#color_good = "#489100"
|
|
|
|
#color_degraded = "#ad8900"
|
|
|
|
#color_bad = "#d2212d"
|
2019-02-16 11:34:08 +01:00
|
|
|
}
|
|
|
|
|
2019-11-11 15:38:42 +01:00
|
|
|
# Logicish: colour changing things at first (load is often red especially
|
|
|
|
# on boot + electron apps, audio mute changes colour to red (but audio
|
|
|
|
# still makes the most sense to me on the right next to clock).
|
|
|
|
# IPv6 (6), WLAN and Ethernet disappear when down and static single
|
|
|
|
# colour thingsa are on the right (clock, trays).
|
|
|
|
|
|
|
|
#order += "disk /"
|
|
|
|
#order += "disk /home"
|
2019-02-16 11:34:08 +01:00
|
|
|
order += "load"
|
2019-11-11 15:38:42 +01:00
|
|
|
order += "ipv6"
|
2019-02-16 11:34:08 +01:00
|
|
|
order += "wireless _first_"
|
|
|
|
order += "ethernet _first_"
|
|
|
|
order += "battery all"
|
2019-11-11 15:38:42 +01:00
|
|
|
order += "volume master"
|
|
|
|
#order += "tztime utc"
|
|
|
|
order += "time"
|
|
|
|
#order += "tztime local"
|
2019-02-16 11:34:08 +01:00
|
|
|
|
|
|
|
# Load is first as the treshold may need the most modification here
|
|
|
|
load {
|
2023-02-21 18:08:54 +01:00
|
|
|
format = "%1min %5min %15min"
|
|
|
|
# Defaults to 5, nosmt MDS mitigation disables ½ of the cores
|
|
|
|
# X,7 ? https://scoutapm.com/blog/understanding-load-averages
|
|
|
|
# CHANGEME - apparently whether . or , works depends on locale -.-
|
|
|
|
# Rbtpzn, the oldest machine from 2006, single core
|
|
|
|
#max_threshold = "0,7"
|
|
|
|
# Dualcore, mostly everything else
|
|
|
|
max_threshold = "1,7"
|
|
|
|
# Zaldaryn, quadcore
|
|
|
|
#max_threshold = "3,7"
|
2019-02-16 11:34:08 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
wireless _first_ {
|
2023-02-21 18:08:54 +01:00
|
|
|
#format_up = "W: (%quality at %essid, %bitrate / %frequency) %ip"
|
|
|
|
format_up = "W:%quality @ %essid (%frequency, %bitrate)"
|
|
|
|
#format_up = "W:%quality %frequency"
|
|
|
|
#format_down = "W:🢃"
|
|
|
|
format_down = ""
|
|
|
|
#format_quality = "%3d%s"
|
2019-02-16 11:34:08 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
ethernet _first_ {
|
2023-02-21 18:08:54 +01:00
|
|
|
# if you use %speed, i3status requires root privileges
|
|
|
|
#format_up = "E: %ip (%speed)"
|
|
|
|
#format_up = "E:🢁"
|
|
|
|
format_up = "E:%speed"
|
|
|
|
#format_down = "E:🢃"
|
|
|
|
format_down = ""
|
2019-02-16 11:34:08 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
battery all {
|
2023-02-21 18:08:54 +01:00
|
|
|
# %remaining looks horrible especially with updating every second
|
|
|
|
format = "🔌%status %percentage %remaining"
|
|
|
|
format_down = ""
|
|
|
|
status_full = "🔌☻"
|
|
|
|
#status_unk = "?"
|
|
|
|
# kincarron battery fix
|
|
|
|
#path = "/sys/class/power_supply/%d/uevent"
|
2019-02-16 11:34:08 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
tztime utc {
|
2023-02-21 18:08:54 +01:00
|
|
|
timezone = "UTC"
|
|
|
|
# ISO 8601ish
|
|
|
|
format = "%Z: %Y-%m-%d %H:%M:%S%z"
|
2019-02-16 11:34:08 +01:00
|
|
|
}
|
|
|
|
|
2020-07-19 00:42:17 +02:00
|
|
|
# Date format explanations
|
|
|
|
# %G = week based year
|
|
|
|
# %V = week number counted from first week with 4 days
|
|
|
|
# %u = week-day-number (1 = mon, 7 = sun)
|
|
|
|
# %a = week day abbreviation (e.g. ma for maanantai (FI))
|
|
|
|
# %B = unabbreviated month name (e.g. heinäkuu (FI))
|
|
|
|
# %Y = actual year
|
|
|
|
# %j = ordinal day of the year, from 000 to 366 (e.g. 201)
|
|
|
|
# %F = year-month-day e.g. 2020-07-19
|
|
|
|
# %H = 24H hour
|
|
|
|
# %M = minute
|
|
|
|
# %S = seconds
|
|
|
|
# %z = timezone offset to UTC, e.g. +0300
|
|
|
|
|
2019-11-11 15:38:42 +01:00
|
|
|
#tztime local {
|
|
|
|
time {
|
2023-02-21 18:08:54 +01:00
|
|
|
# Finnishish formatting with my adjustments
|
|
|
|
format = "%G-W%V-%u (%j/%a/%B) %F %H.%M.%S%z"
|
2019-02-16 11:34:08 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
volume master {
|
2023-02-21 18:08:54 +01:00
|
|
|
format = "♪: %volume"
|
|
|
|
format_muted = "♪: muted (%volume)"
|
|
|
|
#device = "pulse"
|
2019-02-16 11:34:08 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
ipv6 {
|
2023-02-21 18:08:54 +01:00
|
|
|
#format_up = "IPv6:🢁"
|
|
|
|
format_up = "6"
|
|
|
|
#format_down = "IPv6:🢃"
|
|
|
|
format_down = ""
|
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 / {
|
2023-02-21 18:08:54 +01:00
|
|
|
format = "/: %avail"
|
2019-02-17 10:57:26 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
disk /home {
|
2023-02-21 18:08:54 +01:00
|
|
|
format = "/home: %avail"
|
2019-02-17 10:57:26 +01:00
|
|
|
}
|