Created
August 1, 2021 18:58
-
-
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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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