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";
|
||||
foreground = "#eceff4";
|
||||
primary = "#8fbcbb";
|
||||
secondary = "#ff00ff"; # not sure what this does
|
||||
alert = "#ff00ff"; # not sure what this does
|
||||
alert = "#bf616a";
|
||||
disabled = "#434c5e";
|
||||
in
|
||||
{
|
||||
|
@ -130,9 +129,16 @@ in
|
|||
battery = "BAT0";
|
||||
adapter = "AC";
|
||||
|
||||
format-low = "<animation-low> <label-low>";
|
||||
|
||||
label-charging = "%{F${primary}}AC%{F-} %percentage%%";
|
||||
label-discharging = "%{F${primary}}BAT%{F-} %percentage%%";
|
||||
label-full = "%{F${primary}}AC%{F-}";
|
||||
label-discharging = "%{F${primary}}BAT%{F-} %percentage%%"; 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" = {
|
||||
type = "internal/date";
|
||||
|
|
Loading…
Add table
Reference in a new issue