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"
|
"mpris"
|
||||||
],
|
],
|
||||||
"modules-right": [
|
"modules-right": [
|
||||||
"keyboard-state#numlock",
|
"group/badges",
|
||||||
"keyboard-state#capslock",
|
|
||||||
"privacy",
|
|
||||||
"tray",
|
"tray",
|
||||||
"group/control-center",
|
"group/control-center",
|
||||||
"group/display",
|
"group/display",
|
||||||
|
|
|
||||||
|
|
@ -196,6 +196,16 @@
|
||||||
"tooltip": true
|
"tooltip": true
|
||||||
},
|
},
|
||||||
|
|
||||||
|
"group/badges": {
|
||||||
|
"orientation": "inherit",
|
||||||
|
"modules": [
|
||||||
|
"keyboard-state#numlock",
|
||||||
|
"keyboard-state#capslock",
|
||||||
|
"systemd-failed-units",
|
||||||
|
"privacy"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
|
||||||
"group/control-center": {
|
"group/control-center": {
|
||||||
"orientation": "inherit",
|
"orientation": "inherit",
|
||||||
"modules": [
|
"modules": [
|
||||||
|
|
@ -449,6 +459,11 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
"systemd-failed-units": {
|
||||||
|
"hide-on-ok": true,
|
||||||
|
"format": "\uf071 {nr_failed}", /* */
|
||||||
|
},
|
||||||
|
|
||||||
"tray": {
|
"tray": {
|
||||||
"icon-size": 16,
|
"icon-size": 16,
|
||||||
"show-passive-items": true,
|
"show-passive-items": true,
|
||||||
|
|
|
||||||
|
|
@ -99,6 +99,12 @@ window#waybar {
|
||||||
background-color: @warning;
|
background-color: @warning;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#systemd-failed-units.ok {
|
||||||
|
padding: 0;
|
||||||
|
margin: 0;
|
||||||
|
opacity: 0;
|
||||||
|
}
|
||||||
|
|
||||||
#temperature.critical {
|
#temperature.critical {
|
||||||
background-color: @warning;
|
background-color: @warning;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue