Commit Graph

2 Commits

Author SHA1 Message Date
7ccc4dda26 kiosk-screen: toggle by DPMS state, and print the state it set
X wakes the monitor on any key press, so by the time the Del key reaches the backend
the monitor is already on and a toggle going by the monitor would switch it straight
back off. Only `off` ever enables DPMS, so toggle goes by that instead. on/off now
print the state they set, which the backend uses for its blubb's direction.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-03 17:00:37 +02:00
ea00e045f9 Switch musicdolphin's screen from the IR remote's power key
pi_kiosk installs kiosk-screen on|off|toggle|status, which switches the monitor via
DPMS on the kiosk's X display (the Dell P2419H has no HDMI-CEC). Turning it back on
also turns DPMS off again, as .xinitrc does, so the screen never blanks by itself.

musicdolphin's backend config runs `kiosk-screen toggle` for the power key (the new
screen: section, MusicMouse 2d0caeb). config.yml is install-once, so the running host
is changed by hand the same way.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-03 16:13:29 +02:00