feat(waybar): add free disk space
This commit is contained in:
parent
02c38315ad
commit
094a4a4c68
1 changed files with 13 additions and 0 deletions
|
|
@ -78,6 +78,10 @@ in
|
||||||
"interval": 3,
|
"interval": 3,
|
||||||
"tooltip": false
|
"tooltip": false
|
||||||
},
|
},
|
||||||
|
"disk": {
|
||||||
|
"format": "{specific_free:0.0f}GB ",
|
||||||
|
"unit": "GB"
|
||||||
|
},
|
||||||
"sway/mode": {
|
"sway/mode": {
|
||||||
"format": "<span style=\"italic\">{}</span>"
|
"format": "<span style=\"italic\">{}</span>"
|
||||||
},
|
},
|
||||||
|
|
@ -112,6 +116,7 @@ in
|
||||||
"tray",
|
"tray",
|
||||||
"network",
|
"network",
|
||||||
"pulseaudio",
|
"pulseaudio",
|
||||||
|
"disk",
|
||||||
"custom/mem",
|
"custom/mem",
|
||||||
"temperature",
|
"temperature",
|
||||||
"backlight",
|
"backlight",
|
||||||
|
|
@ -275,6 +280,14 @@ in
|
||||||
color: gray;
|
color: gray;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
window.swaybar #disk {
|
||||||
|
padding-left: 10px;
|
||||||
|
padding-right: 10px;
|
||||||
|
transition: none;
|
||||||
|
color: black;
|
||||||
|
background: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
window.swaybar #custom-mem {
|
window.swaybar #custom-mem {
|
||||||
padding-left: 10px;
|
padding-left: 10px;
|
||||||
padding-right: 10px;
|
padding-right: 10px;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue