From e35795ad98d8babd185275b7f3aa909c123ea778 Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Wed, 27 Oct 2021 19:42:51 +0200 Subject: [PATCH] waybar: Remove interface name from network widget MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The USB ethernet controller in mayushii’s dock gets the nice name enp7s0f3u1u1, which takes up considerable amount of space in the bar. --- users/simon/modules/sway/waybar.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/users/simon/modules/sway/waybar.nix b/users/simon/modules/sway/waybar.nix index 14955b7..ab21d3b 100644 --- a/users/simon/modules/sway/waybar.nix +++ b/users/simon/modules/sway/waybar.nix @@ -168,7 +168,7 @@ in }; network = { format-wifi = "{essid} ({signalStrength}%) 直 "; - format-ethernet = "{ifname}: {ipaddr}/{cidr}  "; + format-ethernet = "{ipaddr}/{cidr}  "; format-linked = "{ifname} (No IP)  "; format-disconnected = "Disconnected ⚠ "; format-alt = "{ifname}: {ipaddr}/{cidr}";