From ecb2718cd425cea1fa274951734998ddd6f5efb4 Mon Sep 17 00:00:00 2001 From: Julian T Date: Fri, 16 Dec 2022 12:51:13 +0100 Subject: 2bwm and bar settings --- polybar/.config/polybar/config | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'polybar') diff --git a/polybar/.config/polybar/config b/polybar/.config/polybar/config index c5b244c..879ff16 100644 --- a/polybar/.config/polybar/config +++ b/polybar/.config/polybar/config @@ -51,7 +51,7 @@ separator-foreground = ${colors.disabled} font-0 = Cozette;2 modules-left = xworkspaces xwindow -modules-right = pulseaudio memory wlan eth date +modules-right = pulseaudio battery memory wlan eth date cursor-click = pointer cursor-scroll = ns-resize @@ -66,6 +66,17 @@ tray-position = right ; override-redirect = true +[module/battery] +type = internal/battery +full-at = 99 + +low-at = 20 + +battery = BAT0 +adapter = AC + +poll-interval = 5 + [module/xworkspaces] type = internal/xworkspaces -- cgit v1.2.3