waybar unit-specific network configs

This commit is contained in:
Henrik Bakken
2025-11-22 20:55:23 +01:00
parent 5468143a10
commit 3a40f7d1d7
5 changed files with 42 additions and 11 deletions
@@ -1,4 +1,15 @@
{
"network": {
"interface": "wlan0",
"format-disabled": " Disabled",
"format-wifi": " {bandwidthDownBits:>} 󰶡 {bandwidthUpBits:>} 󰶣 ({signalStrength}%)",
"tooltip-format-wifi": "{essid}",
"format-ethernet": "󰈀 {bandwidthDownBits:>} 󰶡 {bandwidthUpBits:>} 󰶣",
"tooltip-format-ethernet": "{ifname}: {ipaddr}/{cidr}",
"format-disconnected": " Disconnected",
"on-click": "footclient --app-id floating_shell --window-size-chars 60x45 -e nmtui",
"interval": 2
},
"disk#hdd1": {
"path": "/mnt/hdd1",
"interval": 30,