Files
dotfiles/config/polybar/polybar-square/modules/date.ini
T

33 lines
725 B
INI
Executable File

[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}
format-padding = 2
; Available tokens:
; %date%
; %time%
; Default: %date%
label = %date% %time%