mirror of
https://github.com/kuhyx/screen-locker.git
synced 2026-11-10 17:47:23 +01:00
Some checks are pending
dependency freshness / dependencies on newest stable (push) Waiting to run
md-naming / markdown naming convention (push) Waiting to run
pre-commit / pre-commit (${{ matrix.group }}) (flutter, flutter-analyze, ) (push) Waiting to run
pre-commit / pre-commit (${{ matrix.group }}) (mypy, mypy, ) (push) Waiting to run
pre-commit / pre-commit (${{ matrix.group }}) (pylint, pylint, ) (push) Waiting to run
pre-commit / pre-commit (${{ matrix.group }}) (rest, , mypy,pylint,flutter-analyze) (push) Waiting to run
Tests / test (push) Waiting to run
Tests / lock-popup-safety (push) Waiting to run
Tests / flutter test (shard ${{ matrix.shard }}) (0) (push) Waiting to run
Tests / flutter test (shard ${{ matrix.shard }}) (1) (push) Waiting to run
Tests / flutter test (shard ${{ matrix.shard }}) (2) (push) Waiting to run
Tests / flutter test (shard ${{ matrix.shard }}) (3) (push) Waiting to run
Tests / flutter test (shard ${{ matrix.shard }}) (4) (push) Waiting to run
Tests / flutter test (shard ${{ matrix.shard }}) (5) (push) Waiting to run
Tests / flutter test (shard ${{ matrix.shard }}) (6) (push) Waiting to run
Tests / flutter test (shard ${{ matrix.shard }}) (7) (push) Waiting to run
Tests / flutter test (shard ${{ matrix.shard }}) (8) (push) Waiting to run
Tests / flutter test (shard ${{ matrix.shard }}) (9) (push) Waiting to run
Tests / flutter-coverage (push) Blocked by required conditions
Tests / web-coverage (push) Waiting to run
repo-contract / repo contract (push) Waiting to run
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
30 lines
766 B
Bash
Executable File
30 lines
766 B
Bash
Executable File
#!/bin/bash
|
|
# Remove workout locker systemd service
|
|
|
|
SERVICE_NAME="workout-locker.service"
|
|
TIMER_NAME="workout-locker.timer"
|
|
USER_SERVICE_DIR="$HOME/.config/systemd/user"
|
|
|
|
# Every unit install_systemd.sh creates. Removal has to enumerate all of them,
|
|
# or a "removed" locker keeps firing from a timer nobody remembers installing.
|
|
UNITS=(
|
|
"$SERVICE_NAME"
|
|
"$TIMER_NAME"
|
|
"early-bird-workout-check.timer"
|
|
"workout-sync.timer"
|
|
"workout-sync.service"
|
|
"earner-bonus.path"
|
|
"earner-bonus.service"
|
|
)
|
|
|
|
for unit in "${UNITS[@]}"; do
|
|
systemctl --user stop "$unit" 2>/dev/null
|
|
systemctl --user disable "$unit" 2>/dev/null
|
|
rm -f "$USER_SERVICE_DIR/$unit"
|
|
done
|
|
|
|
# Reload systemd daemon
|
|
systemctl --user daemon-reload
|
|
|
|
echo "✓ Workout locker services and timers removed"
|