Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kamysheblid/stumpwm-autosuspend

auto suspend when battery is low in stumpwm
https://github.com/kamysheblid/stumpwm-autosuspend

Last synced: about 2 months ago
JSON representation

auto suspend when battery is low in stumpwm

Awesome Lists containing this project

README

        

* auto-suspend
** Description
This stumpwm module auto suspends the computer when the battery
capacity is low.
** Usage
Simply load the module, set =percent-to-suspend= (default is 10)
and =percent-to-notify= (default is 20), then call =main-loop=.

#+begin_src lisp
(load-module "auto-suspend")
(setq auto-suspend:*percent-to-notify* 25)
(setq auto-suspend:*percent-to-suspend* 15)
(auto-suspend:main-loop)
#+end_src
** License
GPLv3