waybar: Show ethernet and wifi separately
This commit is contained in:
parent
94f7609c4f
commit
dca9256b01
1 changed files with 10 additions and 6 deletions
|
|
@ -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": {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue