Module swaystatus::blocks::uptime[][src]

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

KeyValuesRequiredDefault
intervalUpdate interval in secondsNo60

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