- Updated xkeysnail installer to properly copy desktop autostart and to restart service on config file changes

This commit is contained in:
Ben Reaves
2020-04-21 17:39:20 -05:00
parent 3b802d1d49
commit c1e2db9a2e
5 changed files with 49 additions and 7 deletions

8
xkeysnail-config/xkeystart.sh Executable file
View File

@@ -0,0 +1,8 @@
#!/bin/bash
# >/dev/null 2>&1
/usr/local/bin/xkeysnail --quiet --watch "$1" &
while true
do inotifywait -e close_write,moved_to,create -q "$1"
/usr/bin/killall xkeysnail
/usr/local/bin/xkeysnail --quiet --watch "$1" &
done