From 7da0b208e68f44a9d896e39ae707416a8cba4ffc Mon Sep 17 00:00:00 2001 From: Ryan Yin Date: Sun, 10 Aug 2025 13:23:56 +0800 Subject: [PATCH] feat: waybar network - use bytes instead of bits --- home/linux/gui/hyprland/conf/waybar/config.jsonc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/home/linux/gui/hyprland/conf/waybar/config.jsonc b/home/linux/gui/hyprland/conf/waybar/config.jsonc index be47efae..7c6d0f44 100644 --- a/home/linux/gui/hyprland/conf/waybar/config.jsonc +++ b/home/linux/gui/hyprland/conf/waybar/config.jsonc @@ -91,12 +91,12 @@ "network": { "interval": 5, "format": "{ifname}", - "format-wifi": " {signalStrength}% Up: {bandwidthUpBits} Down: {bandwidthDownBits} {essid}", - "format-ethernet": " {ifname} Up: {bandwidthUpBits} Down: {bandwidthDownBits}", + "format-wifi": " {signalStrength}% Down: {bandwidthDownBytes} Up: {bandwidthUpBytes} {essid}", + "format-ethernet": " {ifname} Down: {bandwidthDownBytes} Up: {bandwidthUpBytes}", "format-disconnected": "Disconnected ⚠", "tooltip-format": " {ifname} via {gwaddri}", - "tooltip-format-wifi": " {ifname} @ {essid}\nIP: {ipaddr}\nStrength: {signalStrength}%\nFreq: {frequency}MHz\nUp: {bandwidthUpBits} Down: {bandwidthDownBits}", - "tooltip-format-ethernet": " {ifname}\nIP: {ipaddr}\n up: {bandwidthUpBits} down: {bandwidthDownBits}", + "tooltip-format-wifi": " {ifname} @ {essid}\nIP: {ipaddr}\nStrength: {signalStrength}%\nFreq: {frequency}MHz\nDown: {bandwidthDownBytes} Up: {bandwidthUpBytes}", + "tooltip-format-ethernet": " {ifname}\nIP: {ipaddr}\n Down: {bandwidthDownBytes} Up: {bandwidthUpBytes}", "tooltip-format-disconnected": "Disconnected", "max-length": 50, "on-click-middle": "nm-connection-editor",