-
Notifications
You must be signed in to change notification settings - Fork 59
Clock
Jake Stanger edited this page Aug 14, 2022
·
13 revisions
Displays the current date and time. Clicking on the widget opens a popup with the time and a calendar.
Type:
clock
Name | Type | Default | Description |
---|---|---|---|
format |
string |
%d/%m/%Y %H:%M |
Date/time format string. Detail on available tokens can be found here: https://docs.rs/chrono/latest/chrono/format/strftime/index.html |
JSON
{
"right": [
{
"type": "clock",
"format": "%d/%m/%Y %H:%M"
}
]
}
TOML
[[right]]
type = "clock"
format = "%d/%m/%Y %H:%M"
YAML
right:
- type: "clock"
format: "%d/%m/%Y %H:%M"
Corn
{
right = [
{
type = "clock"
format = "%d/%m/%Y %H:%M"
}
]
}
Selector | Description |
---|---|
#clock |
Clock widget button |
#popup-clock |
Clock popup box |
#popup-clock #calendar-clock |
Clock inside the popup |
#popup-clock #calendar |
Calendar widget inside the popup. GTK provides some OOTB styling options for this. |