Skip to content

Instantly share code, notes, and snippets.

@jjercx
Last active January 12, 2021 14:10
Show Gist options
  • Save jjercx/2d05f594fdc9e547cb922162b7255631 to your computer and use it in GitHub Desktop.
Save jjercx/2d05f594fdc9e547cb922162b7255631 to your computer and use it in GitHub Desktop.
restart middleclick when its closed. Inside `~/Library/LaunchAgents/`. Then, run on terminal `launchctl load -w ~/Library/LaunchAgents/user.launchkeep.middleclick.plist` to start the launch agent.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>user.launchkeep.middleclick</string>
<key>KeepAlive</key>
<true/>
<key>Program</key>
<string>/Applications/MiddleClick.app/Contents/MacOS/MiddleClick</string>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment