dotfiles/acpi_hotkeys/lock.sh

10 lines
140 B
Bash
Raw Normal View History

2019-07-11 16:09:05 +02:00
#!/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