Battery, wifi state (widgets) on other window managers (fvwm)

I’ve moved to fvwm as window manager and looking to put some of the widget stuff, battery and wifi mainly, into RightPanel in the default fvwm2 config.

I know battery info is up in /proc somewhere, but I couldn’t find it poking around. I looked in the Handbook. Anyone know where it is?

If anyone else is using fvwm I’d love to hear about it.

Found it. Forgot/didn’t know that ACPI deprecated…

Battery info is at /sys/class/power_supply/BAT0/* on Pocket Reform. I can cobble up a script from that.

1 Like