mirror of
https://github.com/kuhyx/screen-locker.git
synced 2026-07-04 14:43:14 +02:00
Extracted from testsAndMisc monorepo. Changes: - Rewrote imports from python_pkg.screen_locker.* → screen_locker.* - Vendored python_pkg.shared.log_integrity → screen_locker._log_integrity - Vendored wake_alarm constants (ALARM_DAYS, WAKE_AFTER_HOURS, RTCWAKE_BIN) into _constants.py - Extracted has_workout_skip_today into new screen_locker._wake_state module - Added tests for _wake_state.py (392 tests, 100% branch coverage) - Moved scripts/service files to repo root - Added standalone pyproject.toml, requirements.txt, .pre-commit-config.yaml, .gitignore - Added GitHub Actions CI workflows Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
15 lines
350 B
SYSTEMD
15 lines
350 B
SYSTEMD
[Unit]
|
||
Description=Re-check workout after early bird grace period expires at 08:30
|
||
After=graphical-session.target
|
||
|
||
[Timer]
|
||
# Fires every day at 08:30 to verify workout if user logged in during 5–8:30 window
|
||
OnCalendar=*-*-* 08:30:00
|
||
Unit=workout-locker.service
|
||
Persistent=false
|
||
AccuracySec=1s
|
||
RandomizedDelaySec=0
|
||
|
||
[Install]
|
||
WantedBy=timers.target
|