mirror of
https://github.com/kuhyx/screen-locker.git
synced 2026-11-10 18:07:22 +01:00
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
12 lines
553 B
Desktop File
12 lines
553 B
Desktop File
[Unit]
|
|
Description=Apply newly earned flat shutdown bonuses (LeetCode, reading, Anki, ...)
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
# Started by earner-bonus.path the moment a gate writes its ledger. Only the
|
|
# flat-bonus pass: no phone sync, no Tk, no lock screen, so a solve moves the
|
|
# shutdown time within seconds instead of at the next 15-minute workout-sync.
|
|
# The path unit itself is generated from the earned_time registry
|
|
# (screen_locker._earner_units), so it is not a file in this repo.
|
|
ExecStart=/usr/bin/python3 -m screen_locker.screen_lock --apply-bonuses
|