From d4bac3c344efc77fd6572aaa9d5ef04724fbe8e2 Mon Sep 17 00:00:00 2001 From: Tanguy Herbron Date: Mon, 26 Apr 2021 17:21:56 +0200 Subject: [PATCH] Rework polybar date module --- .config/polybar/modules.ini | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/.config/polybar/modules.ini b/.config/polybar/modules.ini index 7a30f8d..8802df7 100644 --- a/.config/polybar/modules.ini +++ b/.config/polybar/modules.ini @@ -420,26 +420,20 @@ label = "%percentage%% " ;;ramp-coreload-3 =  ;;ramp-coreload-4 =  -ramp-load-0 =  -ramp-load-1 =  -ramp-load-2 =  -ramp-load-3 =  -ramp-load-4 =  - ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ [module/date] type = internal/date ; Seconds to sleep between updates -interval = 1.0 +interval = 30 ; 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 = %Y-%m-%d% ; Optional time format -time =  %H:%M %d-%m-%Y% +time = %H:%M ; if `date-alt` or `time-alt` is defined, clicking ; the module will toggle between formats @@ -448,13 +442,16 @@ time-alt =  %Y-%m-%d% ; Available tags: ;