mirror of
https://github.com/kuhyx/wake-alarm.git
synced 2026-11-10 18:07:05 +01:00
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
15 lines
562 B
SYSTEMD
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
|