diff options
Diffstat (limited to 'modules/desktop/waybar/module/network.nix')
| -rw-r--r-- | modules/desktop/waybar/module/network.nix | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/modules/desktop/waybar/module/network.nix b/modules/desktop/waybar/module/network.nix index 4e14d69..514d54e 100644 --- a/modules/desktop/waybar/module/network.nix +++ b/modules/desktop/waybar/module/network.nix @@ -1,13 +1,17 @@ { config, iconColor }: with config.scheme.withHashtag; { - format-wifi = "<span foreground='${iconColor}'>{icon}</span> {signalStrength}%"; - format-ethernet = "<span foreground='${iconColor}'></span> {ipaddr}"; - format-disconnected = ""; + interval = 2; + + format-wifi = "<span foreground='${iconColor}'>{icon}</span> {bandwidthDownBytes} {bandwidthUpBytes}"; + format-ethernet = "<span foreground='${iconColor}'></span> {bandwidthDownBytes} {bandwidthUpBytes}"; + format-disconnected = "<span foreground='${iconColor}'></span> Disconnected"; + tooltip-format = "{ifname}"; tooltip-format-wifi = "{essid} ({signalStrength}%)"; tooltip-format-ethernet = "Wired: {ipaddr}"; tooltip-format-disconnected = "Disconnected"; + format-icons = [ "" "" |
