iberianpig / fusuma

Multitouch gestures with libinput driver on Linux
MIT License
3.68k stars 149 forks source link

Can you add a new parameter to let me execute each gesture only once #307

Closed luyanfeng closed 1 year ago

luyanfeng commented 1 year ago

Can you add a new parameter to let me execute each gesture only once e. g:

For example, this gesture is used to close a app window: (I just want to trigger this only once every time I execute this gesture)

pinch:
  3:
    out: 
      sendkey: "LEFTALT+F4"  
      threshold: 0.5
      interval: 0.5
      times: 1  # new parameter : this gesture triggers only once.

But now, it sometimes closes multiple overlapping windows, This is too scary !

iberianpig commented 1 year ago

Setting large interval like interval: 5, doesn't fit your usecase?

luyanfeng commented 1 year ago

Setting large interval like interval: 5, doesn't fit your usecase?

yes, it works well.