Code Monkey home page Code Monkey logo

mlvwmrc-openbsd-apm's Introduction

OpenBSD APM additions for MLVWM

by Morgan Aldridge [email protected]

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.

mlvwmrc-openbsd-apm's People

Contributors

morgant avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.