waybar: create a group for disks

This commit is contained in:
Adam Gausmann 2025-01-14 15:11:51 -06:00
parent 46f976dcc9
commit 6eec462476

View file

@ -17,11 +17,7 @@
% endfor
"wireplumber",
% for disk in host.get('disks', ['/']):
"disk#${disk}",
% endfor
"group/disks",
"cpu",
"memory",
@ -57,6 +53,17 @@
"format-icons": ["\uf026", "\uf027", "\uf028"]
},
"group/disks": {
// TODO: make drawer that expands orthogonally, outside of the bar
"orientation": "inherit",
"modules": [
% for disk in host.get('disks', ['/']):
"disk#${disk}",
% endfor
],
"drawer": {}
},
% for disk in host.get('disks', ['/']):
"disk#${disk}": {
"path": "${disk}",