waybar-syst...failed-units(5)
π waybar-syst...failed-units β bestie edition (section 5, File Formats Manual)
okay so real talk: this is the manual page for the systemd-failed-units module in waybar. yes the man name got chopped mid-word, she's just like that, we love her anyway π«Ά
β¨ NAME β¨
waybar β the systemd failed units monitor module. that's it, that's the whole name, she's a watcher π
πΈ DESCRIPTION πΈ
the systemd-failed-units module displays the number of failed systemd units. literally just vibes-checking your systemd and holding up a little scoreboard π
π CONFIGURATION π
so this module is addressed by systemd-failed-units. here's every knob you can turn, no skips, no cuts, all of them:
formatβ typeof: string, default{nr_failed} failed. this is how the info gets displayed. this format is used when other formats aren't specified.format-okβ typeof: string. this format is used when there is no failing units. she's the "everything's fine" fit β¨userβ typeof: bool, defaulttrue. option to count user systemd units.systemβ typeof: bool, defaulttrue. option to count systemwide (PID=1) systemd units.hide-on-okβ typeof: bool, defaulttrue. option to hide this module when there is no failing units. sneaky queen π«£menuβ typeof: string. action that popups the menu.menu-fileβ typeof: string. location of the menu descriptor file. there need to be an element of typeGtkMenuwith idmenu.menu-actionsβ typeof: array. the actions corresponding to the buttons of the menu.expandβ typeof: bool, defaultfalse. enables this module to consume all left over space dynamically. main character energy, taking up the whole bar π
π¦ FORMAT REPLACEMENTS π¦
these are the little tokens you can drop into your format strings, and they all do something different, so pay attention bestie:
{nr_failed_system}β number of failed units from systemwide (PID=1) systemd.{nr_failed_user}β number of failed units from user systemd.{nr_failed}β number of total failed units.{systemd_state}β state of the systemd system session{user_state}β state of the systemd user session{overall_state}β overall state of the systemd and user session. ("Ok"or"Degraded")
lowkey note: those last three are giving status report, and the vibes can be good or so not good π
π₯ EXAMPLES π₯
here's a whole config block, copy it exactly, don't freestyle it:
"systemd-failed-units": {
"hide-on-ok": false,
"format": "β {nr_failed}",
"format-ok": "β",
"system": true,
"user": false,
}
ok but the β and β in there?? iconic. she ate π
π STYLE π
these are the CSS selectors you can style, one bullet each, no gatekeeping:
#systemd-failed-units#systemd-failed-units.ok#systemd-failed-units.degraded
and that's the whole page, bestie, you're a systemd-failed-units expert now, no cap π
this lil manual page is dated 2026-02-08, and it's part of the waybar-syst...failed-units(5) page from the File Formats Manual. mwah, go forth and monitor πβ¨
π¦ where this page comes from
- ubuntu resolute: waybar 0.15.0-1 Β· MIT
- ubuntu stonking: waybar 0.15.0-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms