Use correct orientation for gestures after unlock.

Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
master
tetrakist 4 years ago committed by Maarten van Gompel
parent 4eb914265d
commit ef76c902b9
  1. 3
      scripts/core/sxmo_lock.sh

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

Loading…
Cancel
Save