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": [
|
"modules-right": [
|
||||||
"custom/separator#right",
|
"custom/separator#right",
|
||||||
"network#ub0",
|
"network",
|
||||||
"network#wl0",
|
|
||||||
"custom/separator#center",
|
"custom/separator#center",
|
||||||
"cpu",
|
"cpu",
|
||||||
"custom/separator#center",
|
"custom/separator#center",
|
||||||
|
@ -145,39 +144,9 @@
|
||||||
"format-icons": ["", ""],
|
"format-icons": ["", ""],
|
||||||
"format": "<span foreground='#ebdbb2'>{icon}</span>{temperatureC:3}°C"
|
"format": "<span foreground='#ebdbb2'>{icon}</span>{temperatureC:3}°C"
|
||||||
},
|
},
|
||||||
"network#en0": {
|
"network": {
|
||||||
"interval": 2,
|
"interval": 2,
|
||||||
"interface": "en0",
|
// "interface": "wl0",
|
||||||
"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",
|
|
||||||
"format": "{ifname}",
|
"format": "{ifname}",
|
||||||
"format-wifi": "<span foreground='#ebdbb2'> </span>{ifname}",
|
"format-wifi": "<span foreground='#ebdbb2'> </span>{ifname}",
|
||||||
"format-linked": "<span foreground='#ebdbb2'> </span>{ifname}",
|
"format-linked": "<span foreground='#ebdbb2'> </span>{ifname}",
|
||||||
|
|
Loading…
Reference in a new issue