Show time and date in center

This commit is contained in:
RealStickman 2020-11-28 16:39:32 +01:00
parent 0176d920b0
commit 0ee28828e7
2 changed files with 7 additions and 7 deletions

View File

@ -83,8 +83,8 @@ font-5 = Iosevka:style=Regular:size=16;3
modules-left = full sysmenu full i3 full left-top right-bot full xwindow full left-top
modules-center =
modules-right = right-top full player-cmus full left-bot right-top full date full left-bot right-top full battery full left-bot right-top
modules-center = right-bot full date full left-bot
modules-right = right-top full player-cmus full left-bot right-top full battery full left-bot right-top
tray-detached = false
tray-offset-x = 0

View File

@ -6,13 +6,13 @@ interval = 5
; See "http://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 = " %d-%m-%Y"
date =
date-alt = " %Y-%m-%d"
date = " %d.%m.%Y"
;date-alt = " %Y-%m-%d"
time = " %H:%M"
time-alt =
format-prefix =
;time-alt =
;format-prefix =
;format-prefix-foreground = ${colors.orange}
format-underline = ${colors.underline}
format-foreground = ${colors.foreground}
format-background = ${colors.modbackground}
label = %date% %time%
label = %time% | %date%