Michael Smith 0f653d4395 Handle SIGTERM/SIGINT for clean shutdown, add device wrapper script
sdlamp2 now catches SIGTERM and SIGINT via a sig_atomic_t flag checked
in the main loop, ensuring position and volume are saved before exit.
Previously, a kill signal would terminate instantly without saving.

New tools/rg35xx-wrapper.sh replaces sdlamp2 as the dmenu_ln CMD on
the RG35XX Plus. Skeleton includes placeholders for WiFi hotspot and
power button monitoring (TBD after on-device investigation).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-13 15:49:38 +01:00
2026-02-13 11:54:36 +01:00
Description
Own version of Ryan C. Gordon's sdlamp (https://www.youtube.com/watch?v=6hIaEHzlmFc)
743 KiB
Languages
C 83%
Python 10.8%
Shell 4.7%
Makefile 1.2%
Dockerfile 0.3%