mirror of
https://github.com/bvanroll/_dotfiles.git
synced 2025-08-29 12:02:46 +00:00
initial commit
This commit is contained in:
28
.config/i3blocks/bandwidth3/README.md
Normal file
28
.config/i3blocks/bandwidth3/README.md
Normal file
@@ -0,0 +1,28 @@
|
||||
# bandwidth3
|
||||
|
||||
Monitor bandwidth usage.
|
||||
|
||||

|
||||
|
||||
# Usage
|
||||
|
||||
```
|
||||
[bandwidth3]
|
||||
command=$SCRIPT_DIR/bandwidth3
|
||||
interval=persist
|
||||
markup=pango
|
||||
#LABEL=<span font='FontAwesome'> </span>
|
||||
#IFACE=[automatically determined]
|
||||
#DT=3
|
||||
#UNIT=Mb
|
||||
# Exposed variables: rx, wx, tx, unit, iface
|
||||
#PRINTF_COMMAND=printf "${LABEL}%-5.1f/%5.1f %s/s\n", rx, wx, unit;
|
||||
```
|
||||
|
||||
Note that the interface will be guessed using `ip route` but it can also be specified
|
||||
using the `$IFACE` property.
|
||||
On the fly interface switching is not supported, if you change
|
||||
your default interface, simply issue `i3-msg restart` and the script will pick
|
||||
up on the new default. However, the block will wait until a default interface
|
||||
is found upon starting, so no restart is needed if you start i3 and then connect
|
||||
to wifi later.
|
Reference in New Issue
Block a user