Keep device awake while blacking out OLED screen (Decky plugin)
This repository has been archived on 2026-11-12. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
  • TypeScript 97.6%
  • Python 1.4%
  • JavaScript 1%
Find a file
2026-11-12 13:33:09 -06:00
src fix: delay gamepad capture 200ms to avoid self-dismiss 2026-11-12 13:33:09 -06:00
.gitignore feat: initial scaffold — keep-awake + black overlay plugin 2026-11-11 19:50:27 -06:00
LICENSE feat: initial scaffold — keep-awake + black overlay plugin 2026-11-11 19:50:27 -06:00
main.py feat: add minimal main.py (decky backend) 2026-11-12 13:07:46 -06:00
package.json feat: initial scaffold — keep-awake + black overlay plugin 2026-11-11 19:50:27 -06:00
plugin.json feat: initial scaffold — keep-awake + black overlay plugin 2026-11-11 19:50:27 -06:00
pnpm-lock.yaml feat: initial scaffold — keep-awake + black overlay plugin 2026-11-11 19:50:27 -06:00
README.md feat: initial scaffold — keep-awake + black overlay plugin 2026-11-11 19:50:27 -06:00
rollup.config.js feat: initial scaffold — keep-awake + black overlay plugin 2026-11-11 19:50:27 -06:00
tsconfig.json feat: initial scaffold — keep-awake + black overlay plugin 2026-11-11 19:50:27 -06:00

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.