Skip to content

Instantly share code, notes, and snippets.

@jaworek
Created September 19, 2019 09:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jaworek/14e075cc3313f7993c1f78216db0fb58 to your computer and use it in GitHub Desktop.
Save jaworek/14e075cc3313f7993c1f78216db0fb58 to your computer and use it in GitHub Desktop.
Script that starts SelfControl from console
#!/bin/sh
defaults write org.eyebeam.SelfControl BlockDuration -int 360;
sudo /Applications/SelfControl.app/Contents/MacOS/org.eyebeam.SelfControl $(id -u work) --install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment