Skip to content

Instantly share code, notes, and snippets.

@dnnsmnstrr
Created August 1, 2021 18:58
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dnnsmnstrr/93c14506e78c66a4d2295bb5d79db5aa to your computer and use it in GitHub Desktop.
Save dnnsmnstrr/93c14506e78c66a4d2295bb5d79db5aa to your computer and use it in GitHub Desktop.
Launch BetterTouchTool's named triggers from the command line. Requires the BTT webserver interface to be active.
#!/bin/bash
if [ -z "$1" ]
then
echo "No trigger supplied"
exit
fi
curl "http://127.0.0.1:12345/trigger_named/?trigger_name=$*"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment