waybar: add disk module if space gets low
This commit is contained in:
parent
5b6efb5e9b
commit
e595843387
|
@ -22,6 +22,7 @@
|
|||
"temperature",
|
||||
"battery",
|
||||
"custom/load",
|
||||
"disk",
|
||||
"clock",
|
||||
"tray"
|
||||
],
|
||||
|
@ -124,6 +125,15 @@
|
|||
"exec": "waybarscript_loadavg",
|
||||
"interval": 10
|
||||
},
|
||||
"disk": {
|
||||
"format": "{free} \udb80\udeca",
|
||||
"format-good": "",
|
||||
"states": {
|
||||
"good": 0,
|
||||
"warning": 90,
|
||||
"critical": 99
|
||||
}
|
||||
},
|
||||
"clock": {
|
||||
"tooltip-format": "<tt><small>{calendar}</small></tt>",
|
||||
// "format-alt": "{:%Y-%m-%d}",
|
||||
|
|
|
@ -133,12 +133,12 @@ label:focus {
|
|||
padding-right: 0;
|
||||
}
|
||||
|
||||
#custom-load.warning {
|
||||
#custom-load.warning, #disk.warning {
|
||||
color: #ffb65e;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#custom-load.critical {
|
||||
#custom-load.critical, #disk.critical {
|
||||
background-color: #b000b0;
|
||||
color: #000000;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user