mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-01-30 01:28:45 +01:00
polybar: Improve battery functionality
Now the battery module is more pleasant to look at.
This commit is contained in:
parent
0748f72be9
commit
e9e8edfad3
@ -83,9 +83,24 @@ type = internal/battery
|
|||||||
battery = BAT0
|
battery = BAT0
|
||||||
adapter = AC
|
adapter = AC
|
||||||
full-at = 98
|
full-at = 98
|
||||||
label-full = %percentage%%
|
time-format = %H:%M
|
||||||
|
format-charging = <animation-charging> <label-charging>
|
||||||
|
format-discharging = <ramp-capacity> <label-discharging>
|
||||||
|
format-full = <ramp-capacity> <label-full>
|
||||||
label-charging = %percentage%%
|
label-charging = %percentage%%
|
||||||
label-discharigng = %percentage%
|
label-discharging = %percentage%%
|
||||||
|
label-full = %percentage%%
|
||||||
|
ramp-capacity-0 =
|
||||||
|
ramp-capacity-1 =
|
||||||
|
ramp-capacity-2 =
|
||||||
|
ramp-capacity-3 =
|
||||||
|
ramp-capacity-4 =
|
||||||
|
animation-charging-0 =
|
||||||
|
animation-charging-1 =
|
||||||
|
animation-charging-2 =
|
||||||
|
animation-charging-3 =
|
||||||
|
animation-charging-4 =
|
||||||
|
animation-charging-framerate = 1000
|
||||||
|
|
||||||
[module/mpd]
|
[module/mpd]
|
||||||
type = internal/mpd
|
type = internal/mpd
|
||||||
|
Loading…
Reference in New Issue
Block a user