summaryrefslogtreecommitdiff
path: root/polybar
diff options
context:
space:
mode:
authorJulian T <julian@jtle.dk>2022-12-16 12:51:13 +0100
committerJulian T <julian@jtle.dk>2022-12-16 12:51:13 +0100
commitecb2718cd425cea1fa274951734998ddd6f5efb4 (patch)
tree03bc24a8947522c590e9a147bf48ec9b5ff93d96 /polybar
parent31ce617b330d35a96d847849c7e7cb45e835cd49 (diff)
2bwm and bar settings
Diffstat (limited to 'polybar')
-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