chezmoi/dot_dotfiles/polybar/polybar-scripts/polybar-scripts/network-traffic
2021-02-25 09:38:16 +01:00
..
network-traffic.sh Updated polybar-scripts. 2021-02-25 09:38:16 +01:00
README.md Updated polybar-scripts. 2021-02-25 09:38:16 +01:00

Script: network-traffic

A script that displays the current network traffic.

It allows you to count traffic from more then one interface.

Dependencies

  • bc

Configuration

Change the values in INTERVAL and INTERFACES. You can also choose between bit and byte output.

Module

[module/network-traffic]
type = custom/script
exec = ~/polybar-scripts/network-traffic.sh
tail = true