try a new launch script
This commit is contained in:
parent
b64982771b
commit
caa6f1c449
1 changed files with 9 additions and 3 deletions
|
@ -1,6 +1,12 @@
|
|||
#!/bin/sh
|
||||
|
||||
pkill ags
|
||||
CONFIG_FILES="/home/sako/.config/ags"
|
||||
|
||||
ags &
|
||||
|
||||
trap "killall ags" EXIT
|
||||
|
||||
while true; do
|
||||
ags &
|
||||
export APP_PID=$!
|
||||
inotifywait -e create,modify $CONFIG_FILES
|
||||
kill $APP_PID
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue