Added battery indicator

This commit is contained in:
Christian Colglazier 2018-08-29 10:58:53 -04:00
parent 26f0a146ae
commit 434c2ea90c

View File

@ -32,9 +32,9 @@ font-0 = NimbusSans:bold:fixed:pixelsize=14;1
font-1 = unifont:fontformat=truetype:size=8:antialias=false;0
font-2 = siji:pixelsize=10;1+e
modules-left = bspwm i3
modules-left = i3
modules-center = xwindow
modules-right = battery date
modules-right = volume battery date
tray-position = right
tray-padding = 2
@ -102,7 +102,7 @@ format-underline = ${colors.blue}
[module/battery]
type = internal/battery
full-at = 99
time-format = %H:%M
time-format = %-H:%M
; $ ls -1 /sys/class/power_supply/
battery = BAT0
adapter = ADP1
@ -116,6 +116,18 @@ format-discharging = <label-discharging>
format-discharging-underline = ${colors.blue-light}
label-discharging = %percentage%% (%time%)
[module/volume]
type = internal/alsa
format-volume = <label-volume>
label-volume = VOL %percentage%%
label-volume-foreground = ${root.foreground}
format-volume-underline = ${colors.blue}
format-muted-prefix = " "
label-muted = VOL %percentage%%
format-muted-underline = ${colors.pink}
[settings]
screenchange-reload = true
;compositing-background = xor