You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On my system (arch) acpi output is "Battery 0: Not charging, 98%"
It doesn't match string.match(s, '.+: (%a+), (%d?%d?%d)%%,?(.*)') in function update_widget.
Works after I updated pattern to string.match(s, '.+: (%a*%s?%a+), (%d?%d?%d)%%,?(.*)').
The text was updated successfully, but these errors were encountered:
On my system (arch) acpi output is "Battery 0: Not charging, 98%"
It doesn't match
string.match(s, '.+: (%a+), (%d?%d?%d)%%,?(.*)')
in function update_widget.Works after I updated pattern to
string.match(s, '.+: (%a*%s?%a+), (%d?%d?%d)%%,?(.*)')
.The text was updated successfully, but these errors were encountered: