fixed shellcheck problem after applying last patch

This commit is contained in:
Maarten van Gompel 2021-03-15 14:27:01 +01:00
parent ef76c902b9
commit 69f73aa77f

View file

@ -9,7 +9,7 @@ if [ -x "$XDG_CONFIG_HOME/sxmo/hooks/lock" ]; then
fi
pkill -9 lisgd
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 &
if [ -x "$XDG_CONFIG_HOME/sxmo/hooks/unlock" ]; then
"$XDG_CONFIG_HOME/sxmo/hooks/unlock"