wake-alarm/wake-alarm-strip.path
Krzysztof kuhy Rudnicki f182453567 Add morning-session corner strip
Top-right always-on-top strip while the signed morning session is
in_progress: title, "Next: <step>", "Locks return at HH:MM".
wake-alarm-strip.path starts it on every file rewrite; it re-reads
the file each second, asks for a refresh every 30 s, exits 0 when
the session ends. No display/output: warning, exit 1.
Bump gatelock pin to 0.12.0 (corner_strip).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WzxdWZd3smuxDGmEgXkYP8
2026-11-07 08:19:42 +01:00

15 lines
562 B
SYSTEMD

[Unit]
Description=Show the morning-session strip whenever the signed session file is rewritten
Documentation=https://github.com/kuhyx/wake-alarm
[Path]
# wake-alarm-session.timer rewrites this every 2 min through the morning (and
# the strip itself asks for a refresh every 30 s while it is up). Starting a
# service that is already running is a no-op, so the rewrites cost nothing;
# once the session is over the strip exits 0 at once.
PathChanged=%h/.local/state/wake_alarm/morning_session.json
Unit=wake-alarm-strip.service
[Install]
WantedBy=paths.target