aboutsummaryrefslogtreecommitdiffstats
path: root/deckit/modules/__init__.py
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-11-12 09:01:06 +0100
committerDanilo M. <danix@danix.xyz>2026-11-12 09:01:06 +0100
commit512a2b4a2821a1edadf5530d060e3ae5468d75e8 (patch)
treef81dcb1d2238403bdcf68cf9298cc34b6a010672 /deckit/modules/__init__.py
parentfea2e9b221a2d18f9c73e5763adf662128cea5ec (diff)
downloaddeck-it-512a2b4a2821a1edadf5530d060e3ae5468d75e8.tar.gz
deck-it-512a2b4a2821a1edadf5530d060e3ae5468d75e8.zip
fix(tablet): restore the backlight after a restart or shutdown
The server never ran the modules' stop: `deck-it stop` ends it with SIGTERM and nothing called stop_all, so a shutdown left the tablet dim. A SIGTERM handler now runs stop_all before exiting. The settings from before a dim lived only in memory, so a new server's undim had nothing to put back. They are now kept in ~/.cache/deck-it/dim, and a freshly loaded page asks for undim, since it is never dimmed itself. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'deckit/modules/__init__.py')
0 files changed, 0 insertions, 0 deletions