Merge pull request #187 from IGLOU-EU/patch-2

Update network-bandwidth configuration and documentation
This commit is contained in:
Ethan Edwards 2023-04-08 09:18:41 -04:00 committed by GitHub
commit 8a55e04a66
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 101 additions and 37 deletions

View file

@ -152,6 +152,18 @@ Customize label
set -g @dracula-ram-usage-label "RAM"
```
#### network-bandwidth
You can configure which network interface you want to view the bandwidth,
Displaying of the interface name, The interval between each bandwidth update.
The most common interfaces name are `eth0` for a wired connection and `wlan0` for a wireless connection.
```bash
set -g @dracula-network-bandwidth eth0
set -g @dracula-network-bandwidth-interval 0
set -g @dracula-network-bandwidth-show-interface true
```
#### network-ping options
You can configure which server (hostname, IP) you want to ping and at which rate (in seconds). Default is google.com at every 5 seconds.