Add basic st scroll gesture inputs

Signed-off-by: Stacy Harper <contact@stacyharper.net>
Signed-off-by: Miles Alan <m@milesalan.com>
This commit is contained in:
Stacy Harper 2021-07-25 19:16:52 +02:00 committed by Miles Alan
parent d4fd25e3e9
commit 25913ebaf1

View file

@ -87,11 +87,11 @@ case "$WMCLASS" in
type q type q
exit 0 exit 0
;; ;;
"twodown") *"onedown")
type u type u
exit 0 exit 0
;; ;;
"twoup") *"oneup")
type d type d
exit 0 exit 0
;; ;;
@ -116,11 +116,11 @@ case "$WMCLASS" in
exit 0 exit 0
;; ;;
*"onedown") *"onedown")
key d key u
exit 0 exit 0
;; ;;
*"oneup") *"oneup")
key u key d
exit 0 exit 0
;; ;;
*"oneright") *"oneright")
@ -142,6 +142,17 @@ case "$WMCLASS" in
esac esac
;; ;;
esac esac
# Now we try generic st actions
case "$ACTION" in
*"onedown")
key Ctrl+Shift+B
exit 0
;;
*"oneup")
key Ctrl+Shift+F
exit 0
;;
esac
esac esac
#standard handling #standard handling