Contextual gesture for amfora
This make gestures convenient enough to use the app only with gestures. All the scroll direction are used : Prev link Scroll Up Open in new tab Back prev page Open link Close tab Scroll Down Next Link Signed-off-by: Stacy Harper <contact@stacyharper.net> Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
This commit is contained in:
parent
c7e0e3b656
commit
f28a81a10c
2 changed files with 40 additions and 0 deletions
|
@ -113,6 +113,42 @@ case "$WMCLASS" in
|
|||
;;
|
||||
esac
|
||||
;;
|
||||
*"amfora"*)
|
||||
case "$ACTION" in
|
||||
"downright")
|
||||
key Tab
|
||||
exit 0
|
||||
;;
|
||||
"upleft")
|
||||
key Shift+Tab
|
||||
exit 0
|
||||
;;
|
||||
"down")
|
||||
key d
|
||||
exit 0
|
||||
;;
|
||||
"up")
|
||||
key u
|
||||
exit 0
|
||||
;;
|
||||
"right")
|
||||
key Return
|
||||
exit 0
|
||||
;;
|
||||
"upright")
|
||||
key Ctrl+t
|
||||
exit 0
|
||||
;;
|
||||
"left")
|
||||
key b
|
||||
exit 0
|
||||
;;
|
||||
"downleft")
|
||||
key Ctrl+w
|
||||
exit 0
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
esac
|
||||
esac
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue