mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-25 12:49:26 +01:00
119 lines
3.4 KiB
Plaintext
119 lines
3.4 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"
|
|
}
|
|
|
|
# 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"
|
|
order += "load"
|
|
order += "ipv6"
|
|
order += "wireless _first_"
|
|
order += "ethernet _first_"
|
|
order += "battery all"
|
|
order += "volume master"
|
|
#order += "tztime utc"
|
|
order += "time"
|
|
#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, %bitrate / %frequency) %ip"
|
|
format_up = "W:%quality @ %essid (%frequency, %bitrate)"
|
|
#format_up = "W:%quality %frequency"
|
|
#format_down = "W:🢃"
|
|
format_down = ""
|
|
#format_quality = "%3d%s"
|
|
}
|
|
|
|
ethernet _first_ {
|
|
# 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 = ""
|
|
}
|
|
|
|
battery all {
|
|
# %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"
|
|
}
|
|
|
|
tztime utc {
|
|
timezone = "UTC"
|
|
# ISO 8601ish
|
|
format = "%Z: %Y-%m-%d %H:%M:%S%z"
|
|
}
|
|
|
|
#tztime local {
|
|
time {
|
|
# Finnishish formatting.
|
|
#format = "%Z: %A %d. %B %Y, %H.%M.%S(%z)"
|
|
# I guess ISO 8601 (+ mix from UTC) just makes the most sense to me
|
|
format = "%Z: (%a) %F %H.%M.%S%z"
|
|
}
|
|
|
|
volume master {
|
|
format = "♪: %volume"
|
|
format_muted = "♪: muted (%volume)"
|
|
device = "pulse"
|
|
}
|
|
|
|
ipv6 {
|
|
#format_up = "IPv6:🢁"
|
|
format_up = "6"
|
|
#format_down = "IPv6:🢃"
|
|
format_down = ""
|
|
}
|
|
|
|
# %avail vs %free: https://github.com/i3/i3status/issues/349#issuecomment-506565599
|
|
|
|
disk / {
|
|
format = "/: %avail"
|
|
}
|
|
|
|
disk /home {
|
|
format = "/home: %avail"
|
|
}
|