waybar: Remove interface name from network widget

The USB ethernet controller in mayushii’s dock gets the nice name
enp7s0f3u1u1, which takes up considerable amount of space in the bar.
This commit is contained in:
Simon Bruder 2021-10-27 19:42:51 +02:00
parent 58e18ebecb
commit e35795ad98
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC

View file

@ -168,7 +168,7 @@ in
}; };
network = { network = {
format-wifi = "{essid} ({signalStrength}%) "; format-wifi = "{essid} ({signalStrength}%) ";
format-ethernet = "{ifname}: {ipaddr}/{cidr} "; format-ethernet = "{ipaddr}/{cidr} ";
format-linked = "{ifname} (No IP) "; format-linked = "{ifname} (No IP) ";
format-disconnected = "Disconnected "; format-disconnected = "Disconnected ";
format-alt = "{ifname}: {ipaddr}/{cidr}"; format-alt = "{ifname}: {ipaddr}/{cidr}";