From 9d74bca144a39d59e26f53b3d8b83f0b387a6e6a Mon Sep 17 00:00:00 2001 From: randomuser Date: Mon, 10 Jul 2023 21:35:38 -0500 Subject: [PATCH] update polybar configuration --- config/polybar/config.ini | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/config/polybar/config.ini b/config/polybar/config.ini index 3ff2918..bfb5290 100644 --- a/config/polybar/config.ini +++ b/config/polybar/config.ini @@ -48,10 +48,10 @@ module-margin = 1 separator = | separator-foreground = ${colors.disabled} -font-0 = monospace;2 +font-0 = Fantasque Sans Mono;1 -modules-left = xworkspaces xwindow -modules-right = filesystem pulseaudio xkeyboard memory cpu wlan eth date +modules-left = xworkspaces battery +modules-right = pulseaudio date cursor-click = pointer cursor-scroll = ns-resize @@ -85,6 +85,16 @@ label-empty = %name% label-empty-foreground = ${colors.disabled} label-empty-padding = 1 +[module/battery] +type = internal/battery + +full-at = 99 +low-at = 5 + +battery = BAT0 + +poll-interval = 5 + [module/pulseaudio] type = internal/pulseaudio