shell-things/conf/i3status/config

93 lines
2.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"
}
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"
# The default is 5 while my laptop has only 4 and older PC 1.
# CHANGEME - apparently whether . or , works depends on locale -.-
#max_threshold = "3.7"
#max_threshold = "0,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"
}