dotfiles/acpi_hotkeys/lock.sh
2019-07-11 16:09:05 +02:00

10 lines
140 B
Bash

#!/bin/sh
LOCK_FILE=/tmp/tp-antitheft.lock
touch $LOCK_FILE
/usr/local/bin/tp-antitheft &
vlock -n &&
pkill tp-antitheft
rm -f $LOCK_FILE