diff --git a/scripts/core/sxmo_appmenu.sh b/scripts/core/sxmo_appmenu.sh index 9ddbfcc..7337cb2 100755 --- a/scripts/core/sxmo_appmenu.sh +++ b/scripts/core/sxmo_appmenu.sh @@ -267,7 +267,7 @@ mainloop() { ) & wait } -pgrep -f "$(which sxmo_appmenu.sh)" | grep -Ev "^${$}$" | xargs kill -TERM +pgrep -f "$(command -v sxmo_appmenu.sh)" | grep -Ev "^${$}$" | xargs kill -TERM DMENUIDX=0 PICKED="" ARGS="$*" diff --git a/scripts/core/sxmo_gpsutil.sh b/scripts/core/sxmo_gpsutil.sh index fa4d3af..4be4c24 100755 --- a/scripts/core/sxmo_gpsutil.sh +++ b/scripts/core/sxmo_gpsutil.sh @@ -102,10 +102,10 @@ gpslatlonset() { killexistingfoxtrotgps st -e sh -c " - gsettings set org.foxtrotgps global-zoom "$ZOOM"; - gsettings set org.foxtrotgps global-x "$X"; - gsettings set org.foxtrotgps global-y "$Y"; - foxtrotgps --lat="$LAT" --lon="$LON" + gsettings set org.foxtrotgps global-zoom $ZOOM; + gsettings set org.foxtrotgps global-x $X; + gsettings set org.foxtrotgps global-y $Y; + foxtrotgps --lat=$LAT --lon=$LON " & } gpsgeoclueset() {