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
Key | Values | Default |
---|---|---|
format | A string to customise the output of this block. See below for available placeholders | " $icon $text " |
interval | Update interval in seconds | 60 |
Placeholder | Value | Type | Unit |
---|---|---|---|
icon | A static icon | Icon | - |
text | Current uptime | Text | - |
§Example
[[block]]
block = "uptime"
interval = 3600 # update every hour
§Used Icons
uptime
§TODO:
- Add
time
ordur
formatter tosrc/formatting/formatter.rs