From 524e32f64fad6b3584a43c36d131ac8a004831aa Mon Sep 17 00:00:00 2001 From: Peter Son Struschka Date: Sun, 23 Dec 2018 21:18:43 +0700 Subject: added time to battery module in polybar --- i3wm/.config/polybar/config | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'i3wm/.config/polybar') diff --git a/i3wm/.config/polybar/config b/i3wm/.config/polybar/config index 74c9e85..2c5454d 100644 --- a/i3wm/.config/polybar/config +++ b/i3wm/.config/polybar/config @@ -441,15 +441,18 @@ bar-volume-empty-foreground = ${colors.foreground-alt} [module/battery] type = internal/battery +time-format = %H:%M battery = BAT0 adapter = AC full-at = 89 format-charging = format-charging-underline = #ffb52a +label-charging = %percentage%% | %time% format-discharging = format-discharging-underline = ${self.format-charging-underline} +label-discharging = %percentage%% | %time% format-full =  format-full-foreground = ${colors.foreground} @@ -468,7 +471,7 @@ animation-charging-2 =  animation-charging-3 =  animation-charging-4 =  animation-charging-foreground = ${colors.foreground} -animation-charging-framerate = 1000 +animation-charging-framerate = 750 animation-discharging-0 =  animation-discharging-1 =  -- cgit v1.2.3