mirror of
https://github.com/kuhyx/wake-alarm.git
synced 2026-11-10 17:07:04 +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
623 B
Desktop File
15 lines
623 B
Desktop File
[Unit]
|
|
Description=Wake Alarm morning-session strip (top-right corner reminder)
|
|
Documentation=https://github.com/kuhyx/wake-alarm
|
|
|
|
[Service]
|
|
Type=simple
|
|
# Same display handling as leetcode-guard.service, the other Tk user unit:
|
|
# the session's own X server, no env fallbacks invented here.
|
|
Environment=DISPLAY=:0
|
|
Environment=XAUTHORITY=%h/.Xauthority
|
|
# Exits 0 by itself when the morning session is not in progress (the normal
|
|
# case for most path triggers) and again the moment it ends. Exit 1 means no
|
|
# display or no live output; the next file rewrite tries again.
|
|
ExecStart=/usr/bin/python -m wake_alarm._session_strip
|