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, default true. option to count user systemd units.
  • system β€” typeof: bool, default true. option to count systemwide (PID=1) systemd units.
  • hide-on-ok β€” typeof: bool, default true. 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 type GtkMenu with id menu.
  • menu-actions β€” typeof: array. the actions corresponding to the buttons of the menu.
  • expand β€” typeof: bool, default false. 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