From 664d6443e3fc0e0dd420b24240ccd562760f4e86 Mon Sep 17 00:00:00 2001 From: Konstantin Koslowski Date: Fri, 31 May 2024 17:18:22 +0200 Subject: [PATCH] waybar: fix networks --- waybar.d/config | 37 +++---------------------------------- 1 file changed, 3 insertions(+), 34 deletions(-) diff --git a/waybar.d/config b/waybar.d/config index 29fcd59..85befba 100644 --- a/waybar.d/config +++ b/waybar.d/config @@ -22,8 +22,7 @@ ], "modules-right": [ "custom/separator#right", - "network#ub0", - "network#wl0", + "network", "custom/separator#center", "cpu", "custom/separator#center", @@ -145,39 +144,9 @@ "format-icons": ["", ""], "format": "{icon}{temperatureC:3}°C" }, - "network#en0": { + "network": { "interval": 2, - "interface": "en0", - "format": "{ifname}", - "format-wifi": "{ifname}", - "format-linked": "{ifname}", - "format-disconnected": "{ifname}", - "min-length": 8, - "max-length": 30, - "tooltip-format": "{ifname}\n\t{ipaddr}/{cidr}\n  \t{bandwidthDownBits}\n  \t{bandwidthUpBits}", - "tooltip-format-ethernet": "{ifname}\n\t{ipaddr}/{cidr}\n  \t{bandwidthDownBits}\n  \t{bandwidthUpBits}", - "tooltip-format-wifi": "{ifname} {essid} ({signalStrength:3}%)\n\t{ipaddr}/{cidr}\n  \t{bandwidthDownBits}\n  \t{bandwidthUpBits}", - "tooltip-format-disconnected": "{ifname} disconnected", - "on-click": "foot -T float nmtui" - }, - "network#ub0": { - "interval": 2, - "interface": "ub0", - "format": "{ifname}", - "format-wifi": "{ifname}", - "format-linked": "{ifname}", - "format-disconnected": "{ifname}", - "min-length": 8, - "max-length": 30, - "tooltip-format": "{ifname}\n\t{ipaddr}/{cidr}\n  \t{bandwidthDownBits}\n  \t{bandwidthUpBits}", - "tooltip-format-ethernet": "{ifname}\n\t{ipaddr}/{cidr}\n  \t{bandwidthDownBits}\n  \t{bandwidthUpBits}", - "tooltip-format-wifi": "{ifname} {essid} ({signalStrength:3}%)\n\t{ipaddr}/{cidr}\n  \t{bandwidthDownBits}\n  \t{bandwidthUpBits}", - "tooltip-format-disconnected": "{ifname} disconnected", - "on-click": "foot -T float nmtui" - }, - "network#wl0": { - "interval": 2, - "interface": "wl0", + // "interface": "wl0", "format": "{ifname}", "format-wifi": "{ifname}", "format-linked": "{ifname}",