added gesture to close less/mless (swipe to left edge or left along bottom edge)

This commit is contained in:
Maarten van Gompel 2021-04-26 23:00:35 +02:00
parent b87be17a64
commit 906226a4ed

View file

@ -39,6 +39,11 @@ if [ "$HANDLE" -ne 0 ]; then
xdotool key s
HANDLE=0
fi
elif echo "$WMNAME" | grep -i -E -w "(less|mless)"; then
if [ "$ACTION" = "back" ] || [ "$ACTION" = "scrollleft_short" ]; then
xdotool key q
HANDLE=0
fi
fi
;;
esac