This commit is contained in:
Stephan Raabe 2023-04-13 21:21:35 +02:00
parent f1023f621e
commit 3240a52c20

View File

@ -33,7 +33,7 @@ font-0 = "Fira Sans SemiBold:size=11;2"
font-1 = "Font Awesome 6 Free Solid:pixelsize=11;2"
modules-left = xworkspaces mymenu
modules-center = xwindow
modules-right = xkeyboard mysystem filesystem pulseaudio memory cpu date myexit
modules-right = battery xkeyboard mysystem filesystem pulseaudio memory cpu date myexit
cursor-click = pointer
cursor-scroll = ns-resize
enable-ipc = true
@ -168,4 +168,18 @@ label-foreground = #FFFFFF
screenchange-reload = true
pseudo-transparency = true
[module/battery]
type = internal/battery
label-discharging = " %percentage%%"
label-full = " 100%"
label-charging = " %percentage%%
label-low = " BATTERY LOW"
full-at = 99
low-at = 5
; Use the following command to list batteries and adapters:
; $ ls -1 /sys/class/power_supply/
battery = BAT1
; adapter = AC
poll-interval = 5
; vim:ft=dosini