Skip to content

M_network

vbextreme edited this page Sep 5, 2018 · 1 revision

Network config wiki

Show network speed

Module Specific Attribute

# device name
device = wlp3s0

# unit, use 1000 for B/s,KB/s,MB/s, GB/s or 1024 for B/s, KiB/s, MiB/s, GiB

Enviroment

$0 received data
$1 unit received in string
$2 transmit data
$3 unit transmit in string

Formatting

for formatting enviroment

# double
format[0] = 6.2
# string
format[1] = ""
# double
format[2] = 6.2
# string
format[3] = ""

Icon

icon = "🖧" 

Example

show received, unit, transmit and unit

text.long = "$@ ⇩$0 $1 ⇧$2 $3"
Clone this wiki locally