Ensure shellcheck passes

master
Miles Alan 5 years ago
parent 888ccc53a3
commit a011bed9b8
  1. 2
      scripts/core/sxmo_appmenu.sh
  2. 8
      scripts/core/sxmo_gpsutil.sh

@ -267,7 +267,7 @@ mainloop() {
) & wait ) & 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 DMENUIDX=0
PICKED="" PICKED=""
ARGS="$*" ARGS="$*"

@ -102,10 +102,10 @@ gpslatlonset() {
killexistingfoxtrotgps killexistingfoxtrotgps
st -e sh -c " st -e sh -c "
gsettings set org.foxtrotgps global-zoom "$ZOOM"; gsettings set org.foxtrotgps global-zoom $ZOOM;
gsettings set org.foxtrotgps global-x "$X"; gsettings set org.foxtrotgps global-x $X;
gsettings set org.foxtrotgps global-y "$Y"; gsettings set org.foxtrotgps global-y $Y;
foxtrotgps --lat="$LAT" --lon="$LON" foxtrotgps --lat=$LAT --lon=$LON
" & " &
} }
gpsgeoclueset() { gpsgeoclueset() {

Loading…
Cancel
Save