mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-12-24 03:33:12 +01:00
98 lines
2.6 KiB
Plaintext
98 lines
2.6 KiB
Plaintext
# 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
|
|
# 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
|
|
# solarized dark copied from https://github.com/tobiaszwaszak/i3wm/blob/master/i3status.conf
|
|
color_good = "#859900"
|
|
color_bad = "#dc322f"
|
|
color_degraded = "#cb4b16"
|
|
}
|
|
|
|
order += "disk /"
|
|
order += "disk /home"
|
|
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"
|
|
# 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"
|
|
}
|
|
|
|
wireless _first_ {
|
|
#format_up = "W: (%quality at %essid) %frequency %ip"
|
|
format_up = "W:%quality %frequency"
|
|
format_down = "W:🢃"
|
|
}
|
|
|
|
ethernet _first_ {
|
|
# if you use %speed, i3status requires root privileges
|
|
#format_up = "E: %ip (%speed)"
|
|
format_up = "E:🢁"
|
|
format_down = "E:🢃"
|
|
}
|
|
|
|
battery all {
|
|
# %remaining looks horrible especially with updating every second
|
|
format = "🔌%status %percentage %remaining"
|
|
format_down = ""
|
|
}
|
|
|
|
tztime utc {
|
|
timezone = "UTC"
|
|
# ISO 8601ish
|
|
format = "%Z: %Y-%m-%d %H:%M:%S(%z)"
|
|
}
|
|
|
|
tztime local {
|
|
# Finnishish formatting.
|
|
format = "%Z: %A %d. %B %Y, %H.%M.%S(%z)"
|
|
}
|
|
|
|
volume master {
|
|
format = "♪: %volume"
|
|
format_muted = "♪: muted (%volume)"
|
|
device = "pulse"
|
|
}
|
|
|
|
ipv6 {
|
|
format_up = "IPv6:🢁"
|
|
format_down = "IPv6:🢃"
|
|
}
|
|
|
|
# %avail vs %free: https://github.com/i3/i3status/issues/349#issuecomment-506565599
|
|
|
|
disk / {
|
|
format = "/: %avail"
|
|
}
|
|
|
|
disk /home {
|
|
format = "/home: %avail"
|
|
}
|