-
Notifications
You must be signed in to change notification settings - Fork 3
Date & Time Module
Sam edited this page Aug 7, 2024
·
2 revisions
The datetime
module displays simply displays the current date/time set on your system.
Insert into the modules
array.
-
title
-> (String) The module title. -
format
-> (String) The format used to display the module. See below for placeholders. -
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. -
separator
-> (Optional/Char) Override the separator to be used.
The placeholders are simply strftime placeholders. If your not familiar with them, you can find a table here.
[datetime]
title = "Date Time"
format = "%H:%M:%S on %e %B %G"
modules = [
"datetime"
]
[datetime]
title = "Date Time"
format = "%H:%M:%S on %e %B %G"