diff --git a/scripts/core/sxmo_lock.sh b/scripts/core/sxmo_lock.sh index 5f42cb5..791dd5c 100755 --- a/scripts/core/sxmo_lock.sh +++ b/scripts/core/sxmo_lock.sh @@ -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"