Prefix one finger gesture with "one"
This make input handling matching more consistent. Take this example : You want to bind one finger left gesture to something with all the distance (short, medium and long) so you now can match *"oneleft" to match "longoneleft", "mediumoneleft", "oneleft". Without the "one" you would use *"left" which also match "twoleft" and this override the "move to another workspace gesture. Signed-off-by: Stacy Harper <contact@stacyharper.net> Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
This commit is contained in:
parent
1d9821c2a4
commit
99d226929b
2 changed files with 18 additions and 10 deletions
|
@ -95,11 +95,11 @@ case "$WMCLASS" in
|
|||
type d
|
||||
exit 0
|
||||
;;
|
||||
"left")
|
||||
*"oneleft")
|
||||
typeenter ":n"
|
||||
exit 0
|
||||
;;
|
||||
"right")
|
||||
*"oneright")
|
||||
typeenter ":p"
|
||||
exit 0
|
||||
;;
|
||||
|
@ -115,15 +115,15 @@ case "$WMCLASS" in
|
|||
key Shift+Tab
|
||||
exit 0
|
||||
;;
|
||||
"down")
|
||||
*"onedown")
|
||||
key d
|
||||
exit 0
|
||||
;;
|
||||
"up")
|
||||
*"oneup")
|
||||
key u
|
||||
exit 0
|
||||
;;
|
||||
"right")
|
||||
*"oneright")
|
||||
key Return
|
||||
exit 0
|
||||
;;
|
||||
|
@ -131,7 +131,7 @@ case "$WMCLASS" in
|
|||
key Ctrl+t
|
||||
exit 0
|
||||
;;
|
||||
"left")
|
||||
*"oneleft")
|
||||
key b
|
||||
exit 0
|
||||
;;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue