From 753bcb856fe4429920c9d1053568464c41ac5a6c Mon Sep 17 00:00:00 2001 From: Daniel Bauer Date: Sat, 15 Sep 2018 10:50:41 +0200 Subject: [PATCH] laptop battery --- .config/polybar/config | 60 +++++++++++++++++++++++------------------- 1 file changed, 33 insertions(+), 27 deletions(-) diff --git a/.config/polybar/config b/.config/polybar/config index 8e6292f..6965b1d 100644 --- a/.config/polybar/config +++ b/.config/polybar/config @@ -71,7 +71,7 @@ inherit = bar/example modules-left = i3 tray-position = right tray-padding = 2 -modules-right = spotify volume filesystemroot memory cpu battery battery2 date +modules-right = spotify volume filesystemroot memory cpu battery1 battery2 date modules-center = xwindow [module/xwindow] @@ -306,32 +306,6 @@ bar-volume-empty = - bar-volume-empty-font = 2 bar-volume-empty-foreground = ${colors.foreground-alt} -[module/battery] -type = internal/battery -battery = BAT0 -adapter = ADP1 -full-at = 98 - -format-charging = -format-charging-underline = #ffb52a - -format-discharging = -format-discharging-underline = ${self.format-charging-underline} - -format-full-prefix = " " -format-full-prefix-foreground = ${colors.foreground-alt} -format-full-underline = ${self.format-charging-underline} - -ramp-capacity-0 =  -ramp-capacity-1 =  -ramp-capacity-2 =  -ramp-capacity-foreground = ${colors.foreground-alt} - -animation-charging-0 =  -animation-charging-1 =  -animation-charging-2 =  -animation-charging-foreground = ${colors.foreground-alt} -animation-charging-framerate = 750 [module/temperature] type = internal/temperature @@ -406,3 +380,35 @@ tail = false format = 