JitouchApp / Jitouch

A multi-touch extension for MacBook, Magic Mouse, and Magic Trackpad
GNU General Public License v3.0
391 stars 28 forks source link

Feature Request: Add shell command as an action #66

Open twio142 opened 1 year ago

twio142 commented 1 year ago

As described in title. It'd be handy to trigger osascript or other (custom) shell commands with gestures.

P.S. Thanks a lot for developing / maintaining Jitouch!

samcarter commented 1 year ago

As a workaround until this very useful feature gets implemented, you could assign some random keyboard shortcut to the gesture you want and then use e.g. https://github.com/Hammerspoon/hammerspoon to map this keyboard shortcut to the shell command.