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 Sat, Feb 8, 2025 at 8:36 AM fmc000 ***@***.***> wrote:
Tooltip always shows "nan%" in beta16 (but the file is the same in current
codebase). The problem is that the "bsdctl is never invoked in the widget.
Simple fix below.
--- /usr/local/share/sfwbar/battery-svg.widget 2024-11-07
22:36:37.000000000 +0100 +++ battery-svg.widget 2025-02-08
09:29:24.918276000 +0100 @@ -1,3 +1,5 @@ +module ("bsdctl") + set
XBatteryLevel = If(!Ident(BSDCtl),XBatteryLeft / XBatteryTotal *
100,BSDCtl("hw.acpi.battery.life")) set XBatterySvgPlus = '<path
style="fill:#FFF152;stroke:#000" d="m 27 23 25 0 -13 35 11 -4 -25 38 7 -38
-11 6 z"/>' set XBatterySvgMinus = '<path style="fill:#BB0000;stroke:none"
d="m 19 50 28 0 0 8 -28 0 z"/>'
—
Reply to this email directly, view it on GitHub
<#339>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ASHPFFBF27QLSXJMQGSH6QL2OW6YZAVCNFSM6AAAAABWXO2A7OVHI2DSMVQWIX3LMV43ASLTON2WKOZSHAZTSNZRGUZTAOI>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
Tooltip always shows "nan%" in beta16 (but the file is the same in current codebase). The problem is that the "bsdctl" is never invoked in the widget.
Simple fix below.
The text was updated successfully, but these errors were encountered: