by Morgan Aldridge morgant@makkintosshu.com
A set of OpenBSD APM (Advanced Power Management) additions for MLVWM (specifically mlvwmrc
), incl. MenuExtras which:
- Provide a menu which allows the selection of CPU performance mode (manual or automatic), plus sleep/suspend/hybernate
- Display statistics incl.: CPU speed, temperature, battery percentage, etc.
This is loosely based on an OpenBSD-specific implementation of termbar
.
The following will install the apmstats
utility in ~/bin
and the appropriate MenuExtras in ~/.mlvwm/MenuExtras
:
make install
Edit your ~/.mlvwm/MenuBar
file to insert any of the following MenuExtras you'd like to use:
Read .mlvwm/MenuExtras/apm
Read .mlvwm/MenuExtras/apmstats-cpu
Read .mlvwm/MenuExtras/apmstats-cputemp
Read .mlvwm/MenuExtras/apmstats-battery
Then restart mlvwm
.
Note: While I suggest using Solène Rapenne's obsdfreqd
for customizing CPU performance, using apmd
's automatic mode should not be used at the same time. The "apm" MenuExtra included in this project does not include obsdfreqd
support, though the other MenuExtras will continue to show accurate CPU frequency/temperature, battery level, etc.
Released under the MIT License.
Some icons by Yusuke Kamiyamane. Licensed under a Creative Commons Attribution 3.0 License.