feat(waybar): add systemd warnings
This commit is contained in:
parent
b92a2fb821
commit
6a32bd2e74
3 changed files with 22 additions and 3 deletions
|
|
@ -45,9 +45,7 @@
|
|||
"mpris"
|
||||
],
|
||||
"modules-right": [
|
||||
"keyboard-state#numlock",
|
||||
"keyboard-state#capslock",
|
||||
"privacy",
|
||||
"group/badges",
|
||||
"tray",
|
||||
"group/control-center",
|
||||
"group/display",
|
||||
|
|
|
|||
|
|
@ -196,6 +196,16 @@
|
|||
"tooltip": true
|
||||
},
|
||||
|
||||
"group/badges": {
|
||||
"orientation": "inherit",
|
||||
"modules": [
|
||||
"keyboard-state#numlock",
|
||||
"keyboard-state#capslock",
|
||||
"systemd-failed-units",
|
||||
"privacy"
|
||||
]
|
||||
},
|
||||
|
||||
"group/control-center": {
|
||||
"orientation": "inherit",
|
||||
"modules": [
|
||||
|
|
@ -449,6 +459,11 @@
|
|||
}
|
||||
},
|
||||
|
||||
"systemd-failed-units": {
|
||||
"hide-on-ok": true,
|
||||
"format": "\uf071 {nr_failed}", /* */
|
||||
},
|
||||
|
||||
"tray": {
|
||||
"icon-size": 16,
|
||||
"show-passive-items": true,
|
||||
|
|
|
|||
|
|
@ -99,6 +99,12 @@ window#waybar {
|
|||
background-color: @warning;
|
||||
}
|
||||
|
||||
#systemd-failed-units.ok {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
#temperature.critical {
|
||||
background-color: @warning;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue