Skip to content

Extends block unit of time. (hour, day and week)#139

Closed
saiday wants to merge 2 commits intoSelfControlApp:masterfrom
saiday:master
Closed

Extends block unit of time. (hour, day and week)#139
saiday wants to merge 2 commits intoSelfControlApp:masterfrom
saiday:master

Conversation

@saiday
Copy link
Copy Markdown

@saiday saiday commented Aug 10, 2013

No description provided.

@ghost
Copy link
Copy Markdown

ghost commented Apr 13, 2015

Here's the solution, thanks to @cstigler. I hope this helps, @saiday.

"Read this closely. If you do it wrong, SelfControl will not launch.

To adjust the maximum block time and interval on the sliders, just open Terminal.app in Applications --> Utilities, then enter the following two commands (substituting the words in brackets with numbers). Press enter after each line:

defaults write org.eyebeam.SelfControl MaxBlockLength -int [maximum block length in minutes]
defaults write org.eyebeam.SelfControl BlockLengthInterval -int [block length interval in minutes]
So, for example, to change it to a month-long maximum block with intervals at each day, you could use:

defaults write org.eyebeam.SelfControl MaxBlockLength -int 43200
defaults write org.eyebeam.SelfControl BlockLengthInterval -int 1440
If you mess something up, use this Terminal command (while SelfControl is closed) to reset these settings:

defaults delete org.eyebeam.SelfControl
"

@gschema
Copy link
Copy Markdown

gschema commented Apr 18, 2017

Can you guys add gems from @ghost's comment to the readme? It would be shame that to be lost.

@saiday saiday closed this Apr 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants