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-right": [
|
||||
"idle_inhibitor",
|
||||
"network",
|
||||
"network#ethernet",
|
||||
"network#wifi",
|
||||
"pulseaudio",
|
||||
"battery",
|
||||
"clock",
|
||||
|
|
@ -40,12 +41,15 @@
|
|||
"format-alt": "{time} {icon}",
|
||||
"format-icons": ["", "", "", "", ""]
|
||||
},
|
||||
"network": {
|
||||
"network#ethernet": {
|
||||
"interface": "eth0",
|
||||
"format-ethernet": "{ipaddr}/{cidr} ",
|
||||
"tooltip": false,
|
||||
},
|
||||
"network#wifi": {
|
||||
"interface": "wlan0",
|
||||
"format-wifi": "{essid} ",
|
||||
"format-ethernet": "{ifname} ",
|
||||
"format-linked": "{ifname} ",
|
||||
"format-disconnected": "Disconnected ⚠",
|
||||
"format-alt": "{ifname}",
|
||||
"format-linked": "⚠",
|
||||
"tooltip-format": "{ipaddr}/{cidr}"
|
||||
},
|
||||
"pulseaudio": {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue