mirror of
https://github.com/rbreaves/kinto.git
synced 2025-08-13 22:29:16 +02:00
9 lines
259 B
Bash
Executable File
9 lines
259 B
Bash
Executable File
#!/bin/bash
|
|
# >/dev/null 2>&1
|
|
/usr/local/bin/xkeysnail --quiet --watch "$1" &
|
|
|
|
inotifywait -m -e close_write,moved_to,create,modify /tmp/kinto/xkeysnail |
|
|
while read -r path; do
|
|
/usr/bin/killall xkeysnail
|
|
/usr/local/bin/xkeysnail --quiet --watch "$1" &
|
|
done |