I tried splitting up the sources to speed up some compiling... but it didn't help. I dunno that it's more readable this way. I'm checkpointing this just in case.
Power Console
This is a simple power-management applet for Linux, written in C++ and FLTK.
It supports changing power profiles, reporting battery status, turning on and off conservation mode for batteries, and indicating whether the AC adapter is plugged in.
Since a lot of more bare-bones desktops and window managers lack power management niceties, I decided to write this little gadget.
The paths to various things are hardcoded for my laptop's specific setup and such.
TODO: I want to add support for dynamic things like
- Choosing the colors and their thresholds
- Specifying what your system's special configuration files are
- Slider to control brightness
- Some power profiles support (within the applet as well as integration with
what is in the linux system binary
powerprofilesctl)
This code is licened under the AGPL vesrion 3.0, only.
Languages
C++
92.4%
Makefile
7.6%