wake-alarm/scripts/pc/wake-alarm-ring-probe.service
Krzysztof kuhy Rudnicki cf0d243ffd Count a paused alarm as a bypass
The launcher "Wstrzymaj aplikację" paused WakeAlarm mid-ring on 11-20 and
11-22. WakeAlarm is now a device admin, and a pause, admin removal,
revoked notifications or full-screen intent, or a killed ring on a live
morning is a bypass: a miss on any weekday, the phone rings again, and
the PC rings at once until a newer dismiss or 30 min.

The PC rings also go to every connected monitor, since the speakers are
off at the knob overnight; a one-shot silent probe checks them at A-5.

DOCS-bypass.md has the layers, causes and measurements.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 11:49:44 +01:00

14 lines
553 B
Desktop File

[Unit]
Description=Wake Alarm silent check that the monitors can ring (ALSA, root)
Documentation=https://github.com/kuhyx/wake-alarm
[Service]
# Started once by the user's wake-alarm-fallback.service at A - 5 on a
# morning with no graphical session (the state the fallback rings in),
# through `sudo -n systemctl start` (see /etc/sudoers.d/wake-alarm).
# Plays digital silence only: `journalctl -u wake-alarm-ring-probe` shows
# one ring_probe line per monitor.
Type=oneshot
ExecStart=/usr/local/lib/wake-alarm/ring_alsa.sh --probe
TimeoutStartSec=60