commit e9dabfb451372b2f60806f28b3127ebd88a860e6
parent 3f10474a8afe4de07faf3ec3664e43e0e38edff5
Author: Morel BĂ©renger <berengermorel76@gmail.com>
Date: Mon, 4 Sep 2023 11:58:30 +0200
watcher: allows to run a script from other folders
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/watcher b/watcher
@@ -35,7 +35,7 @@ do
echo focus on $FOCUS
if test -e "$SOURCE"
then
- ./$SCRIPT "${SOURCE}" | dot -Tpdf | $VIEWER &
+ $SCRIPT "${SOURCE}" | dot -Tpdf | $VIEWER &
TPID=$!
xdotool sleep 0.1 windowfocus --sync $FOCUS
inotifywait "${SOURCE}"