nixos/config/ags-v1/launch-ags.sh

13 lines
192 B
Bash
Raw Permalink Normal View History

2024-08-04 20:50:04 +04:00
#!/bin/sh
2024-08-05 17:40:10 +04:00
CONFIG_FILES="/home/sako/.config/ags"
2024-08-04 20:50:04 +04:00
2024-08-05 17:40:10 +04:00
trap "killall ags" EXIT
while true; do
ags &
export APP_PID=$!
inotifywait -e create,modify $CONFIG_FILES
kill $APP_PID
done