Add low battery flashing, 99% full
This commit is contained in:
parent
e8a61218cd
commit
38ffa776c0
1 changed files with 10 additions and 4 deletions
|
@ -5,8 +5,7 @@ let
|
||||||
background-alt = "#3b4252";
|
background-alt = "#3b4252";
|
||||||
foreground = "#eceff4";
|
foreground = "#eceff4";
|
||||||
primary = "#8fbcbb";
|
primary = "#8fbcbb";
|
||||||
secondary = "#ff00ff"; # not sure what this does
|
alert = "#bf616a";
|
||||||
alert = "#ff00ff"; # not sure what this does
|
|
||||||
disabled = "#434c5e";
|
disabled = "#434c5e";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
@ -130,9 +129,16 @@ in
|
||||||
battery = "BAT0";
|
battery = "BAT0";
|
||||||
adapter = "AC";
|
adapter = "AC";
|
||||||
|
|
||||||
|
format-low = "<animation-low> <label-low>";
|
||||||
|
|
||||||
label-charging = "%{F${primary}}AC%{F-} %percentage%%";
|
label-charging = "%{F${primary}}AC%{F-} %percentage%%";
|
||||||
label-discharging = "%{F${primary}}BAT%{F-} %percentage%%";
|
label-discharging = "%{F${primary}}BAT%{F-} %percentage%%"; label-full = "%{F${primary}}AC%{F-}";
|
||||||
label-full = "%{F${primary}}AC%{F-}";
|
|
||||||
|
animation-low-0 = "%{F${primary}}BAT%{F-}";
|
||||||
|
animation-low-1 = "%{F${alert}}LOW%{F-}";
|
||||||
|
|
||||||
|
full-at = 99;
|
||||||
|
low-at = 10; # default
|
||||||
};
|
};
|
||||||
"module/date" = {
|
"module/date" = {
|
||||||
type = "internal/date";
|
type = "internal/date";
|
||||||
|
|
Loading…
Add table
Reference in a new issue