mirror of
https://github.com/rad4day/Waybar.git
synced 2025-07-13 14:42:29 +02:00
Add module systemd-failed-units
This commit is contained in:
63
man/waybar-systemd-failed-units.5.scd
Normal file
63
man/waybar-systemd-failed-units.5.scd
Normal file
@ -0,0 +1,63 @@
|
||||
waybar-systemd-failed-units(5)
|
||||
|
||||
# NAME
|
||||
|
||||
waybar - systemd failed units monitor module
|
||||
|
||||
# DESCRIPTION
|
||||
|
||||
The *systemd-failed-units* module displays the number of failed systemd units.
|
||||
|
||||
# CONFIGURATION
|
||||
|
||||
Addressed by *systemd-failed-units*
|
||||
|
||||
*format*: ++
|
||||
typeof: string ++
|
||||
default: *{nr_failed} failed* ++
|
||||
The format, how information should be 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.
|
||||
|
||||
*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.
|
||||
|
||||
# FORMAT REPLACEMENTS
|
||||
|
||||
*{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.
|
||||
|
||||
# EXAMPLES
|
||||
|
||||
```
|
||||
"systemd-failed-units": {
|
||||
"hide-on-ok": false,
|
||||
"format": "✗ {nr_failed}",
|
||||
"format-ok": "✓",
|
||||
"system": true,
|
||||
"user": false,
|
||||
}
|
||||
```
|
||||
|
||||
# STYLE
|
||||
|
||||
- *#systemd-failed-units*
|
||||
- *#systemd-failed-units.ok*
|
||||
- *#systemd-failed-units.degraded*
|
Reference in New Issue
Block a user