mirror of
https://github.com/Keyitdev/dotfiles.git
synced 2026-09-24 01:52:09 +00:00
31 lines
705 B
INI
31 lines
705 B
INI
[module/date]
|
|
type = internal/date
|
|
|
|
; Seconds to sleep between updates
|
|
; Default: 1.0
|
|
interval = 1
|
|
|
|
; See "https://en.cppreference.com/w/cpp/io/manip/put_time" for details on how to format the date string
|
|
; NOTE: if you want to use syntax tags here you need to use %%{...}
|
|
date = %a %d %b
|
|
|
|
; Optional time format
|
|
time = %H:%M
|
|
|
|
; if `date-alt` or `time-alt` is defined, clicking
|
|
; the module will toggle between formats
|
|
date-alt = %A %d %B %Y
|
|
time-alt = %H:%M:%S
|
|
|
|
; Available tags:
|
|
; <label> (default)
|
|
format = <label>
|
|
format-prefix = " "
|
|
format-prefix-foreground = ${color.red}
|
|
format-background = ${color.background}
|
|
; Available tokens:
|
|
; %date%
|
|
; %time%
|
|
; Default: %date%
|
|
label = %date% %time%
|