Created
September 19, 2019 09:49
-
-
Save jaworek/14e075cc3313f7993c1f78216db0fb58 to your computer and use it in GitHub Desktop.
Script that starts SelfControl from console
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/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