https://github.com/luanbitar/toggle-magictrackpad
https://github.com/luanbitar/toggle-magictrackpad
Last synced: 1 day ago
JSON representation
- Host: GitHub
- URL: https://github.com/luanbitar/toggle-magictrackpad
- Owner: luanbitar
- Created: 2023-04-26T14:41:30.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-10-11T00:14:03.000Z (over 2 years ago)
- Last Synced: 2025-02-28T23:23:16.291Z (over 1 year ago)
- Language: Shell
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
Using a magic trackpad with multiple macos devices is a mess
This is why I created this little script to switch between devices simply executing an application
To do this I'll need:
- Install [blueutil](https://github.com/toy/blueutil)
- You can simply run `brew install blueutil`
- Edit the `toggle-magictrackpad.sh` file and replace:
- The MAC addresses with your devices
- You can find the MAC address of your device by running `blueutil --paired`
- blueutil's path if you installed it in a different way
- you can find with `which blueutil`
- Open Automator
- Create a new Application Type document
- Select "Run Shell Script" from the left panel
- Paste the content of `toggle-magictrackpad.sh` into the script box
- Save whenever you want
Now you can simply run the application and it will switch between your devices.
You will be able to find it in the spotlight search too.