andreasgrill / auto-selfcontrol

Small utility to schedule start and stop times of SelfControl
MIT License
305 stars 37 forks source link

Issues on M1 Mac #59

Open usb4 opened 3 years ago

usb4 commented 3 years ago

I'm having issues where auto-selfcontrol is not triggering. I'm using the same config file that works on my Intel Mac. Anyone else having such issues?

pradoslaw commented 3 years ago

Yes, I have the same problem.

KonradBartu commented 3 years ago

Forget about auto-self control. It does not work. You can extend block times way past 24 hrs and adjust the maximum block time and interval on the sliders. Just paste these 2 short lines in your terminal:

defaults write org.eyebeam.SelfControl MaxBlockLength -int 43200 defaults write org.eyebeam.SelfControl BlockLengthInterval -int 1440

Close and re-open selfcontrol.

If you would like to create custom intervals you can fiddle with above numbers. More explanation here: https://gist.github.com/gschema/16bc1e77833dfe06e63b81256473fe72