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