diff --git a/scripts/core/sxmo_keyboard.sh b/scripts/core/sxmo_keyboard.sh index bf19efc..df8e257 100755 --- a/scripts/core/sxmo_keyboard.sh +++ b/scripts/core/sxmo_keyboard.sh @@ -17,7 +17,7 @@ open() { } close() { - pkill "$KEYBOARD" + pkill -f "$KEYBOARD" } if [ "$1" = "toggle" ]; then diff --git a/scripts/core/sxmo_presuspend.sh b/scripts/core/sxmo_presuspend.sh index d569b5d..e6a9712 100755 --- a/scripts/core/sxmo_presuspend.sh +++ b/scripts/core/sxmo_presuspend.sh @@ -8,7 +8,7 @@ pkill -STOP conky pkill clickclack -pkill $KEYBOARD +pkill -f "$KEYBOARD" # If this script returns a non-zero exit code, suspension will be cancelled