mirror of
https://github.com/rbreaves/kinto.git
synced 2025-08-05 18:38:26 +02:00
- Changed inotify for xkeysnail config to monitor mode
This commit is contained in:
@@ -1,8 +1,9 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# >/dev/null 2>&1
|
# >/dev/null 2>&1
|
||||||
/usr/local/bin/xkeysnail --quiet --watch "$1" &
|
/usr/local/bin/xkeysnail --quiet --watch "$1" &
|
||||||
while true
|
|
||||||
do inotifywait -e close_write,moved_to,create -q "$1"
|
inotifywait -m -e close_write,moved_to,create -q "$1" |
|
||||||
/usr/bin/killall xkeysnail
|
while read -r path; do
|
||||||
/usr/local/bin/xkeysnail --quiet --watch "$1" &
|
/usr/bin/killall xkeysnail
|
||||||
|
/usr/local/bin/xkeysnail --quiet --watch "$1" &
|
||||||
done
|
done
|
Reference in New Issue
Block a user