mirror of
https://github.com/kuhyx/screen-locker.git
synced 2026-07-04 15:03:15 +02:00
- Remove _workout_forms.py and all manual running/strength workout forms - Verification is now ADB-only: phone check → verified (unlock) | failed (retry + sick mode) - Add systemd timer (workout-locker.timer) for periodic 15min checks - Fix service unit: add PYTHONPATH, WorkingDirectory, use -m invocation - Update install/remove scripts for timer support - Remove form-related constants, tests, and conftest helpers - 127 tests, 100% branch coverage maintained
17 lines
376 B
Desktop File
17 lines
376 B
Desktop File
[Unit]
|
|
Description=Workout Screen Locker
|
|
After=graphical-session.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
WorkingDirectory=/home/kuhy/testsAndMisc
|
|
Environment=DISPLAY=:0
|
|
Environment=PYTHONPATH=/home/kuhy/testsAndMisc
|
|
ExecStartPre=/bin/sleep 3
|
|
ExecStart=/usr/bin/python3 -m python_pkg.screen_locker.screen_lock --production
|
|
Restart=no
|
|
User=%u
|
|
|
|
[Install]
|
|
WantedBy=graphical-session.target
|