#!/bin/bash

# Continuously check if "Nudge" is running and kill it
while true; do
    PID=$(pgrep -x "Nudge")  # Find the PID of Nudge (exact match)
    if [[ -n "$PID" ]]; then
        echo "Killing Nudge (PID: $PID)"
        kill -9 "$PID"
    fi
    sleep 2  # Wait 2 seconds before checking again
done
