Waybar/man/waybar-clock.5.scd

75 lines
1.4 KiB
Plaintext
Raw Normal View History

2019-08-24 17:09:08 +00:00
waybar-clock(5)
# NAME
waybar - clock module
# DESCRIPTION
The *clock* module displays the current date and time.
2019-08-24 20:46:56 +00:00
# CONFIGURATION
2019-08-24 17:09:08 +00:00
*interval*: ++
typeof: integer ++
default: 60 ++
The interval in which the information gets polled.
*format*: ++
typeof: string ++
default: {:%H:%M} ++
The format, how the date and time should be displayed.
*timezone*: ++
typeof: string ++
default: inferred local timezone ++
The timezone to display the time in, e.g. America/New_York.
2019-08-24 17:09:08 +00:00
*max-length*: ++
typeof: integer ++
The maximum length in character the module should display.
*rotate*: ++
typeof: integer ++
Positive value to rotate the text label.
*on-click*: ++
typeof: string ++
Command to execute when clicked on the module.
2019-12-29 04:20:18 +00:00
*on-click-middle*: ++
typeof: string ++
Command to execute when middle-clicked on the module using mousewheel.
2019-08-24 17:09:08 +00:00
*on-click-right*: ++
typeof: string ++
Command to execute when you right clicked on the module.
*on-scroll-up*: ++
typeof: string ++
Command to execute when scrolling up on the module.
*on-scroll-down*: ++
typeof: string ++
Command to execute when scrolling down on the module.
*smooth-scrolling-threshold*: ++
typeof: double ++
Threshold to be used when scrolling.
View all valid format options in *strftime(3)*.
2019-08-26 21:28:24 +00:00
# EXAMPLES
2019-08-24 17:09:08 +00:00
```
"clock": {
"interval": 60,
"format": "{:%H:%M}",
"max-length": 25
}
```
2019-08-24 20:46:56 +00:00
# STYLE
2019-08-24 17:09:08 +00:00
- *#clock*