From 0e64570501595f0e83ac43aa87cfc09ddfed70bd Mon Sep 17 00:00:00 2001 From: Salt Date: Mon, 24 Aug 2020 18:37:26 -0500 Subject: [PATCH] Polybar: readd battery module whups --- .config/polybar/config | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.config/polybar/config b/.config/polybar/config index b60e2199..0468a47e 100644 --- a/.config/polybar/config +++ b/.config/polybar/config @@ -66,7 +66,7 @@ border-top-size = ${res/config.border-size} tray-position = right modules-left = i3 bspwm | date modules-center = xwindow -modules-right = backlight pulse | +modules-right = backlight pulse battery | #[bar/primary-2] #monitor = ${env:PB_MONITOR:eDP-1} @@ -106,15 +106,18 @@ full-at = 100 time-format = %H:%M interval = 15 -format-charging = +format-charging = format-charging-prefix = "Charging: " format-charging-prefix-foreground = ${res/colors.green} -format-discharging = +format-discharging = format-discharging-prefix = "Battery: " format-discharging-prefix-foreground = ${res/colors.green} -format-full = +format-full = format-full-prefix = "Battery: " format-full-prefix-foreground = ${res/colors.green} +label-charging = %time% +label-discharging = %time% +label-full = Full bar-capacity-width = ${res/config.bar-width} bar-capacity-fill = ${res/config.bar-fill} bar-capacity-fill-foreground = ${res/colors.green}