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