summaryrefslogtreecommitdiff
path: root/polybar/.config/polybar/config
diff options
context:
space:
mode:
Diffstat (limited to 'polybar/.config/polybar/config')
-rw-r--r--polybar/.config/polybar/config13
1 files changed, 12 insertions, 1 deletions
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