Allow a custom string return for %emptytime for when battery is full. The custom string can be set from the config file in battery module with the option battery_full_emptytime.
Current behavior of %emptytime when battery is full is as below.
battery all {
format = "<span background='#458588'> %percentage %status (while != %emptytime) </span>"
low_threshold = 30
threshold_type = "percentage"
}
Instead, with this PR, when battery is full, the battery module will display such as below. Of course, the value for battery_full_emptytime can be changed into any other string aside from "false".
Allow a custom string return for
%emptytime
for when battery is full. The custom string can be set from the config file inbattery
module with the optionbattery_full_emptytime
.Current behavior of
%emptytime
when battery is full is as below.Instead, with this PR, when battery is full, the battery module will display such as below. Of course, the value for
battery_full_emptytime
can be changed into any other string aside from "false".