feat(waybar): add systemd warnings

This commit is contained in:
Tibo De Peuter 2026-09-29 22:18:49 +02:00
parent b92a2fb821
commit 6a32bd2e74
Signed by: tdpeuter
SSH key fingerprint: SHA256:u/h/LVoqKF1Iz02uOyxe6hcjmoZASCGV2HM0TG9ZMoU
3 changed files with 22 additions and 3 deletions

View file

@ -45,9 +45,7 @@
"mpris" "mpris"
], ],
"modules-right": [ "modules-right": [
"keyboard-state#numlock", "group/badges",
"keyboard-state#capslock",
"privacy",
"tray", "tray",
"group/control-center", "group/control-center",
"group/display", "group/display",

View file

@ -196,6 +196,16 @@
"tooltip": true "tooltip": true
}, },
"group/badges": {
"orientation": "inherit",
"modules": [
"keyboard-state#numlock",
"keyboard-state#capslock",
"systemd-failed-units",
"privacy"
]
},
"group/control-center": { "group/control-center": {
"orientation": "inherit", "orientation": "inherit",
"modules": [ "modules": [
@ -449,6 +459,11 @@
} }
}, },
"systemd-failed-units": {
"hide-on-ok": true,
"format": "\uf071 {nr_failed}", /* */
},
"tray": { "tray": {
"icon-size": 16, "icon-size": 16,
"show-passive-items": true, "show-passive-items": true,

View file

@ -99,6 +99,12 @@ window#waybar {
background-color: @warning; background-color: @warning;
} }
#systemd-failed-units.ok {
padding: 0;
margin: 0;
opacity: 0;
}
#temperature.critical { #temperature.critical {
background-color: @warning; background-color: @warning;
} }