mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-05-03 06:46:38 -04:00
tmp: testing out touch gestures
This commit is contained in:
commit
a95e78f58a
6 changed files with 872 additions and 15 deletions
|
|
@ -261,3 +261,22 @@ axisbind=SUPER,DOWN,viewtoright_have_client
|
|||
# layer rule
|
||||
layerrule=animation_type_open:zoom,layer_name:rofi
|
||||
layerrule=animation_type_close:zoom,layer_name:rofi
|
||||
|
||||
# Touch gesture settings
|
||||
touch_distance_threshold = 100
|
||||
touch_degrees_leniency = 30
|
||||
touch_timeoutms = 1000
|
||||
touch_edge_size_left = 50
|
||||
touch_edge_size_top = 50
|
||||
touch_edge_size_right = 50
|
||||
touch_edge_size_bottom = 50
|
||||
|
||||
# Canvas touch gestures
|
||||
touchgesturebind=up,any,any,2,canvas_zoom_resize,1.3
|
||||
touchgesturebind=down,any,any,2,canvas_zoom_resize,0.7
|
||||
|
||||
# 3-finger swipe: pan
|
||||
touchgesturebind=right,any,any,3,canvas_pan,300,0
|
||||
touchgesturebind=left,any,any,3,canvas_pan,-300,0
|
||||
touchgesturebind=up,any,any,3,canvas_pan,0,300
|
||||
touchgesturebind=down,any,any,3,canvas_pan,0,-300
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue