Skip to content

Uptime Module

Sam edited this page Jul 10, 2024 · 1 revision

The uptime module displays the duration of time your system has been active for.

Using

Insert into the modules array.

Configuration

  • title -> (String) The module title.
  • title_color -> (Optional/String) Override the title color to be used.
  • title_bold -> (Optional/Bool) Make the title bold.
  • title_italic -> (Optional/Bool) Make the title italic.
  • seperator -> (Optional/Char) Override the separator to be used.
  • format -> (Optional/String) The format used to display the module. Only contains a singular {time} placeholder.
Default Configuration
[uptime]
title = "Uptime"

Example

modules = [
    "uptime"
]

[uptime]
title = "System Uptime"