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:
parent
58e18ebecb
commit
e35795ad98
|
@ -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}";
|
||||||
|
|
Loading…
Reference in a new issue