This commit is contained in:
2025-09-27 01:01:01 +04:00
parent 959300bc41
commit 4dc5660e60
51 changed files with 2502 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
#!/usr/bin/env sh
mkdir -p "$HOME/.local/state"
LOCKFILE="$HOME/.local/state/once.lock"
# Kills the process if it's already running
lsof -Fp "$LOCKFILE" | sed 's/^p//' | xargs -r kill
flock --verbose -n "$LOCKFILE" "$@"