waybar: fix networks
This commit is contained in:
parent
f83f1a9926
commit
664d6443e3
1 changed files with 3 additions and 34 deletions
|
@ -22,8 +22,7 @@
|
|||
],
|
||||
"modules-right": [
|
||||
"custom/separator#right",
|
||||
"network#ub0",
|
||||
"network#wl0",
|
||||
"network",
|
||||
"custom/separator#center",
|
||||
"cpu",
|
||||
"custom/separator#center",
|
||||
|
@ -145,39 +144,9 @@
|
|||
"format-icons": ["", ""],
|
||||
"format": "<span foreground='#ebdbb2'>{icon}</span>{temperatureC:3}°C"
|
||||
},
|
||||
"network#en0": {
|
||||
"network": {
|
||||
"interval": 2,
|
||||
"interface": "en0",
|
||||
"format": "{ifname}",
|
||||
"format-wifi": "<span foreground='#ebdbb2'> </span>{ifname}",
|
||||
"format-linked": "<span foreground='#ebdbb2'> </span>{ifname}",
|
||||
"format-disconnected": "<span foreground='#606060'> </span>{ifname}",
|
||||
"min-length": 8,
|
||||
"max-length": 30,
|
||||
"tooltip-format": "{ifname}\n\t{ipaddr}/{cidr}\n \t{bandwidthDownBits}\n \t{bandwidthUpBits}",
|
||||
"tooltip-format-ethernet": "{ifname}\n\t{ipaddr}/{cidr}\n \t{bandwidthDownBits}\n \t{bandwidthUpBits}",
|
||||
"tooltip-format-wifi": "{ifname} {essid} ({signalStrength:3}%)\n\t{ipaddr}/{cidr}\n \t{bandwidthDownBits}\n \t{bandwidthUpBits}",
|
||||
"tooltip-format-disconnected": "{ifname} disconnected",
|
||||
"on-click": "foot -T float nmtui"
|
||||
},
|
||||
"network#ub0": {
|
||||
"interval": 2,
|
||||
"interface": "ub0",
|
||||
"format": "{ifname}",
|
||||
"format-wifi": "<span foreground='#ebdbb2'> </span>{ifname}",
|
||||
"format-linked": "<span foreground='#ebdbb2'> </span>{ifname}",
|
||||
"format-disconnected": "<span foreground='#606060'> </span>{ifname}",
|
||||
"min-length": 8,
|
||||
"max-length": 30,
|
||||
"tooltip-format": "{ifname}\n\t{ipaddr}/{cidr}\n \t{bandwidthDownBits}\n \t{bandwidthUpBits}",
|
||||
"tooltip-format-ethernet": "{ifname}\n\t{ipaddr}/{cidr}\n \t{bandwidthDownBits}\n \t{bandwidthUpBits}",
|
||||
"tooltip-format-wifi": "{ifname} {essid} ({signalStrength:3}%)\n\t{ipaddr}/{cidr}\n \t{bandwidthDownBits}\n \t{bandwidthUpBits}",
|
||||
"tooltip-format-disconnected": "{ifname} disconnected",
|
||||
"on-click": "foot -T float nmtui"
|
||||
},
|
||||
"network#wl0": {
|
||||
"interval": 2,
|
||||
"interface": "wl0",
|
||||
// "interface": "wl0",
|
||||
"format": "{ifname}",
|
||||
"format-wifi": "<span foreground='#ebdbb2'> </span>{ifname}",
|
||||
"format-linked": "<span foreground='#ebdbb2'> </span>{ifname}",
|
||||
|
|
Loading…
Reference in a new issue