-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Module: Systemd failed units
Note
This page is auto-generated from man/waybar-systemd-failed-units.5.scd on the master branch.
Do not edit it here — changes will be overwritten on the next sync.
To update it, edit the man page(s) and open a PR.
The systemd-failed-units module displays the number of failed systemd units.
Addressed by systemd-failed-units
| Option | Typeof | Default | Description |
|---|---|---|---|
| format | string | {nr_failed} failed | The format, how information should be displayed. This format is used when other formats aren't specified. |
| format-ok | string | This format is used when there are no failing units. | |
| user | bool | true | Option to count user systemd units. |
| system | bool | true | Option to count systemwide (PID=1) systemd units. |
| hide-on-ok | bool | true | Option to hide this module when there are no failed units. |
| tooltip-format | string | System: {system_state}nUser: {user_state}nFailed units ({nr_failed}):n{failed_units_list} | Tooltip format shown when there are failed units. |
| tooltip-format-ok | string | System: {system_state}nUser: {user_state} | Tooltip format used when there are no failed units. |
| tooltip-unit-format | string | {name}: {description} | Format used to render each failed unit inside the tooltip. Each item is prefixed with a bullet. |
| menu | string | Action that pops up the menu. | |
| menu-file | string | Location of the menu descriptor file. There needs to be an element of type GtkMenu with id menu | |
| menu-actions | array | The actions corresponding to the buttons of the menu. | |
| expand | bool | false | Enables this module to consume all leftover space dynamically. |
{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.
{system_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")
{failed_units_list}: Bulleted list of failed units using tooltip-unit-format. Empty when there are no failed units. This replacement is only available in tooltip-format and tooltip-format-ok; it is not supplied to format/format-ok and using it there breaks label rendering.
The tooltip-unit-format string supports the following replacements:
{name}: Unit name
{description}: Unit description
{load_state}: Unit load state
{active_state}: Unit active state
{sub_state}: Unit sub state
{scope}: Either system or user depending on where the unit originated
"systemd-failed-units": {
"hide-on-ok": false,
"format": "✗ {nr_failed}",
"format-ok": "✓",
"system": true,
"user": false,
"tooltip-format": "{nr_failed} failed units:n{failed_units_list}",
"tooltip-unit-format": "{scope}: {name} ({active_state})",
}
-
#systemd-failed-units
-
#systemd-failed-units.ok
-
#systemd-failed-units.degraded
- Home
- Installation
- Configuration
- Styling
- Examples
- FAQ
- Modules:
- Backlight/Slider
- Backlight
- Battery
- Bluetooth
- CPU
- Cava
- CFFI
- Clock
- Custom
- DWL
- Disk
- Gamemode
- GPS
- Group
- Hyprland
- Idle Inhibitor
- Image
- Inhibitor
- JACK
- Keyboard State
- Language
- Load
- Mango
- Menu
- MPD
- MPRIS
- Memory
- Network
- Niri
- Power Profiles Daemon
- Privacy
- PulseAudio/Slider
- PulseAudio
- River
- Sndio
- Sway
- Systemd failed units
- Taskbar
- Temperature
- Tray
- UPower
- User
- Wayfire
- WirePlumber
- Workspaces
- WWAN
- Writing Modules