The bar left the battery out because it belongs to whoever knows the hardware, and had no way to take it back in. i3status-rust now renders bar-neutral blocks through its template; the power module contributes the battery where the machine reports one and the power draw where something measures it, sampling the root-only energy counter as root and publishing only a rate. The memory block shows what programs hold, the figure memory-pressure judges by, instead of counting the cache as used.
38 lines
995 B
TOML
38 lines
995 B
TOML
# The top bar (module i3status-rust, novox/hq ADR 0208): the focused window's title and the uptime.
|
|
# Owned by the mesh: replaced at every push. Adopted unchanged from the workstations of 2026-10-04.
|
|
icons_format = "{icon}"
|
|
|
|
[theme]
|
|
theme = "plain"
|
|
[theme.overrides]
|
|
idle_bg = "#000000"
|
|
idle_fg = "#f1f1f1"
|
|
info_bg = "#000000"
|
|
info_fg = "#f1f1f1"
|
|
good_bg = "#000000"
|
|
good_fg = "#859900"
|
|
warning_bg = "#000000"
|
|
warning_fg = "#de5200"
|
|
critical_bg = "#000000"
|
|
critical_fg = "#ff0000"
|
|
separator = " | "
|
|
separator_fg = "#ffffff"
|
|
separator_bg = "#000000"
|
|
|
|
[icons]
|
|
icons = "custom-icons"
|
|
|
|
[[block]]
|
|
block = "focused_window"
|
|
[block.format]
|
|
full = " $title.str(max_w:50) |"
|
|
short = " $title.str(max_w:100) |"
|
|
|
|
[[block]]
|
|
block = "uptime"
|
|
interval = 60
|
|
|
|
# Blocks other modules contribute to the top bar (novox/hq ADR 0255). None do yet; both places are kept
|
|
# so that one that does is never dropped.
|
|
${contribution:node-bar:block:bar=top,place=resources}${contribution:node-bar:block:bar=top,place=status}
|