1
0
Fork 0

waybar: Show ethernet and wifi separately

This commit is contained in:
Jeremy Kaplan 2021-11-06 17:37:56 -07:00
commit dca9256b01

View file

@ -10,7 +10,8 @@
"modules-center": [], "modules-center": [],
"modules-right": [ "modules-right": [
"idle_inhibitor", "idle_inhibitor",
"network", "network#ethernet",
"network#wifi",
"pulseaudio", "pulseaudio",
"battery", "battery",
"clock", "clock",
@ -40,12 +41,15 @@
"format-alt": "{time} {icon}", "format-alt": "{time} {icon}",
"format-icons": ["", "", "", "", ""] "format-icons": ["", "", "", "", ""]
}, },
"network": { "network#ethernet": {
"interface": "eth0",
"format-ethernet": "{ipaddr}/{cidr} ",
"tooltip": false,
},
"network#wifi": {
"interface": "wlan0",
"format-wifi": "{essid} ", "format-wifi": "{essid} ",
"format-ethernet": "{ifname} ", "format-linked": "⚠",
"format-linked": "{ifname} ",
"format-disconnected": "Disconnected ⚠",
"format-alt": "{ifname}",
"tooltip-format": "{ipaddr}/{cidr}" "tooltip-format": "{ipaddr}/{cidr}"
}, },
"pulseaudio": { "pulseaudio": {