From 6440179749b7df8504a03559c1dc859d0e3fd983 Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Fri, 20 Dec 2019 13:01:50 +0100 Subject: [PATCH] Add Polybar battery indicator and brightness ramp --- .config/polybar/config | 26 ++++++++++++++++++++++---- 1 file changed, 22 insertions(+), 4 deletions(-) diff --git a/.config/polybar/config b/.config/polybar/config index 8eead52..2bff1f5 100644 --- a/.config/polybar/config +++ b/.config/polybar/config @@ -56,8 +56,8 @@ padding-right = 0 module-margin-left = 2 modules-left = workspaces -modules-center = mprisdisplay -modules-right = networkspeed archupdates cpu temp date backlight volume +modules-center = mprisdisplay date +modules-right = networkspeed archupdates cpu temp backlight volume battery ; do not use offsets for the bar, would only work with override-redirect ; and will mess up tray https://github.com/polybar/polybar/issues/1355 tray-position = right @@ -207,7 +207,7 @@ time = %H:%M ; the module will toggle between formats date-alt = %A, %d %B %Y time-alt = %H:%M -label = %date% %{T2}%{T-}%time% +label = %date% %{T2} %{T-}%time% [module/archupdates] type = custom/script @@ -251,6 +251,24 @@ ramp-volume-3 = 墳 [module/backlight] type = internal/xbacklight -format =