Browse Source

added network speed module

pull/31/head
JaKooLit 2 years ago
parent
commit
814b147d52
  1. 4
      config/waybar/configs/Default [Bottom]
  2. 4
      config/waybar/configs/Default [TOP]
  3. 16
      config/waybar/modules

4
config/waybar/configs/Default [Bottom]

@ -48,8 +48,8 @@
"custom/separator#dot-line", "custom/separator#dot-line",
"bluetooth", "bluetooth",
"custom/separator#dot-line", "custom/separator#dot-line",
//"network", "network#speed",
//"custom/separator#dot-line", "custom/separator#dot-line",
"battery", "battery",
"custom/separator#dot-line", "custom/separator#dot-line",
"backlight", "backlight",

4
config/waybar/configs/Default [TOP]

@ -48,8 +48,8 @@
"custom/separator#dot-line", "custom/separator#dot-line",
"bluetooth", "bluetooth",
"custom/separator#dot-line", "custom/separator#dot-line",
//"network", "network#speed",
//"custom/separator#dot-line", "custom/separator#dot-line",
"battery", "battery",
"custom/separator#dot-line", "custom/separator#dot-line",
"backlight", "backlight",

16
config/waybar/modules

@ -355,6 +355,21 @@
"format-icons": ["󰤯","󰤟","󰤢","󰤥","󰤨"] "format-icons": ["󰤯","󰤟","󰤢","󰤥","󰤨"]
}, },
"network#speed": {
"interval": 1,
"format": "{ifname}",
"format-wifi": "{icon} {bandwidthUpBytes} {bandwidthDownBytes}",
"format-ethernet": "󰌘 {bandwidthUpBytes} {bandwidthDownBytes}",
"format-disconnected": "󰌙",
"tooltip-format": "{ipaddr}",
"format-linked": "󰈁 {ifname} (No IP)",
"tooltip-format-wifi": "{essid} {icon} {signalStrength}%",
"tooltip-format-ethernet": "{ifname} 󰌘",
"tooltip-format-disconnected": "󰌙 Disconnected",
"max-length": 50,
"format-icons": ["󰤯","󰤟","󰤢","󰤥","󰤨"]
},
"pulseaudio": { "pulseaudio": {
"format": "{icon}", "format": "{icon}",
"format-bluetooth": "{icon} 󰂰 {volume}%", "format-bluetooth": "{icon} 󰂰 {volume}%",
@ -644,3 +659,4 @@
} }
Loading…
Cancel
Save