From 14fb5ec88a74eb6a3061c366467735b8b4d88a81 Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Sat, 22 Jul 2023 22:36:31 +0300 Subject: [PATCH] fix script' --- config/waybar/launch-waybar.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/waybar/launch-waybar.sh b/config/waybar/launch-waybar.sh index f162a6ac..2be41413 100755 --- a/config/waybar/launch-waybar.sh +++ b/config/waybar/launch-waybar.sh @@ -6,6 +6,7 @@ trap "killall waybar" EXIT while true; do waybar & + export APP_PID=$! inotifywait -e create,modify $CONFIG_FILES - killall waybar + kill $APP_PID done