Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kamysheblid/stumpwm-autosuspend
auto suspend when battery is low in stumpwm
https://github.com/kamysheblid/stumpwm-autosuspend
Last synced: 3 months ago
JSON representation
auto suspend when battery is low in stumpwm
- Host: GitHub
- URL: https://github.com/kamysheblid/stumpwm-autosuspend
- Owner: kamysheblid
- Created: 2023-02-08T14:20:50.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-04T21:11:19.000Z (8 months ago)
- Last Synced: 2024-08-02T21:38:32.248Z (6 months ago)
- Language: Common Lisp
- Size: 8.79 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.org
Awesome Lists containing this project
- awesome-stumpwm - auto-suspend - Module auto suspends the computer when the battery capacity is low. (Modules)
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