fixed shellcheck problem after applying last patch

master
Maarten van Gompel 4 years ago
parent ef76c902b9
commit 69f73aa77f
  1. 2
      scripts/core/sxmo_lock.sh

@ -9,7 +9,7 @@ if [ -x "$XDG_CONFIG_HOME/sxmo/hooks/lock" ]; then
fi fi
pkill -9 lisgd pkill -9 lisgd
sxmo_screenlock "$@" sxmo_screenlock "$@"
[ $(xrandr | grep DSI-1 | cut -d " " -f 5) == "right" ] && ORIENTATION=1 || ORIENTATION=0 [ "$(xrandr | grep DSI-1 | cut -d ' ' -f 5)" = "right" ] && ORIENTATION=1 || ORIENTATION=0
sxmo_lisgdstart.sh -o $ORIENTATION & sxmo_lisgdstart.sh -o $ORIENTATION &
if [ -x "$XDG_CONFIG_HOME/sxmo/hooks/unlock" ]; then if [ -x "$XDG_CONFIG_HOME/sxmo/hooks/unlock" ]; then
"$XDG_CONFIG_HOME/sxmo/hooks/unlock" "$XDG_CONFIG_HOME/sxmo/hooks/unlock"

Loading…
Cancel
Save