diff --git a/scripts/core/sxmo_appmenu.sh b/scripts/core/sxmo_appmenu.sh index 0b42898..7adb6ee 100755 --- a/scripts/core/sxmo_appmenu.sh +++ b/scripts/core/sxmo_appmenu.sh @@ -266,7 +266,7 @@ mainloop() { ) & wait } -pgrep -f sxmo_appmenu.sh | grep -Ev "^${$}$" | xargs kill -TERM +pgrep -f "$(which sxmo_appmenu.sh)" | grep -Ev "^${$}$" | xargs kill -TERM DMENUIDX=0 PICKED="" ARGS="$*"