Keep device awake while blacking out OLED screen (Decky plugin)
- TypeScript 97.6%
- Python 1.4%
- JavaScript 1%
| src | ||
| .gitignore | ||
| LICENSE | ||
| main.py | ||
| package.json | ||
| plugin.json | ||
| pnpm-lock.yaml | ||
| README.md | ||
| rollup.config.js | ||
| tsconfig.json | ||
BlackAwake
A Decky Loader plugin that keeps the device awake while blacking out the OLED screen.
Single toggle in the quick-access menu: blocks dimming, screen-off and suspend, and overlays the display with black. Dismisses on any input.
Combines the keep-awake technique from DaAndi01/PreventSleep (BSD-3) with the black-overlay approach from steam3d/MagicBlackDecky (GPL-3). Released under GPL-3.0.
Build
pnpm install
pnpm run build # produces dist/index.js
Install
Copy the plugin folder (with plugin.json, dist/) to ~/homebrew/plugins/BlackAwake
on the device, then restart the loader:
sudo systemctl restart plugin_loader
Notes
- Manual keep-awake only (no auto/video-app detection). For that, use PreventSleep.
- Tested target: Steam Deck (SteamOS) and ArmadaOS (Odin 3). ArmadaOS support is unverified — SteamClient power APIs must exist in that Steam build.