Skip to content

OpenBSD APM additions for MLVWM via mlvwmrc

License

Notifications You must be signed in to change notification settings

morgant/mlvwmrc-openbsd-apm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenBSD APM additions for MLVWM

by Morgan Aldridge morgant@makkintosshu.com

OVERVIEW

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.

PREREQUISITES

INSTALLATION

The following will install the apmstats utility in ~/bin and the appropriate MenuExtras in ~/.mlvwm/MenuExtras:

make install

USAGE

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.

LICENSE

Released under the MIT License.

Some icons by Yusuke Kamiyamane. Licensed under a Creative Commons Attribution 3.0 License.

About

OpenBSD APM additions for MLVWM via mlvwmrc

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages