i3status_rs::blocks

Module 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 $uptime "
intervalUpdate interval in seconds60
PlaceholderValueTypeUnit
iconA static iconIcon-
text DEPRECATEDCurrent uptimeText-
uptimeCurrent uptimeDuration-

text has been deprecated in favor of uptime.

§Example

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

§Used Icons

  • uptime

Structs§

Functions§