Module i3status_rs::blocks::uptime

source ·
Expand description

System’s uptime

This block displays system uptime in terms of two biggest units, so minutes and seconds, or hours and minutes or days and hours or weeks and days.

§Configuration

KeyValuesDefault
formatA string to customise the output of this block. See below for available placeholders" $icon $text "
intervalUpdate interval in seconds60
PlaceholderValueTypeUnit
iconA static iconIcon-
textCurrent uptimeText-

§Example

[[block]]
block = "uptime"
interval = 3600 # update every hour

§Used Icons

  • uptime

§TODO:

  • Add time or dur formatter to src/formatting/formatter.rs

Structs§

Functions§