Module i3status_rs::blocks::speedtest

source ·
Expand description

Ping, download, and upload speeds

This block which requires speedtest-cli.

§Configuration

KeyValuesDefault
formatA string to customise the output of this block. See below for available placeholders." ^icon_ping $ping ^icon_net_down $speed_down ^icon_net_up $speed_up "
intervalUpdate interval in seconds1800
PlaceholderValueTypeUnit
pingPing delayNumberSeconds
speed_downDownload speedNumberBits per second
speed_upUpload speedNumberBits per second

§Example

Show only ping (with an icon)

[[block]]
block = "speedtest"
interval = 1800
format = " ^icon_ping $ping "

Hide ping and display speed in bytes per second each using 4 characters (without icons)

[[block]]
block = "speedtest"
interval = 1800
format = " $speed_down.eng(w:4,u:B) $speed_up(w:4,u:B) "

§Icons Used

  • ping
  • net_down
  • net_up

Structs§

Functions§