From 0ee28828e780300e0e01633607d00d88a5169f28 Mon Sep 17 00:00:00 2001 From: RealStickman Date: Sat, 28 Nov 2020 16:39:32 +0100 Subject: [PATCH] Show time and date in center --- arch-config/.config/polybar/i3config.ini | 4 ++-- arch-config/.config/polybar/modules/date.ini | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/arch-config/.config/polybar/i3config.ini b/arch-config/.config/polybar/i3config.ini index 46d46e3e..4b6e4a3d 100755 --- a/arch-config/.config/polybar/i3config.ini +++ b/arch-config/.config/polybar/i3config.ini @@ -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 diff --git a/arch-config/.config/polybar/modules/date.ini b/arch-config/.config/polybar/modules/date.ini index 902c9988..35d7edbb 100755 --- a/arch-config/.config/polybar/modules/date.ini +++ b/arch-config/.config/polybar/modules/date.ini @@ -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%