auto-selfcontrol icon indicating copy to clipboard operation
auto-selfcontrol copied to clipboard

Change or allow changing location of config file

Open jaworek opened this issue 4 years ago • 2 comments

Having config file in HOME directory would be useful for backup and sharing. Would it be possible to change it to follow XDG Base Directory Specification? Is there a reason for config file to be in the current directory?

I'm more than happy to create PR for that, although it seems that it will be required to create a migration script for current users.

https://wiki.archlinux.org/index.php/XDG_Base_Directory

jaworek avatar Dec 05 '20 18:12 jaworek

I agree with @jaworek. Plus the current workflow does not work on new M1 Macs (where Homebrew installs at /opt/homebrew/.

I created PR #62 to solve this. It doesn't do the migration, but it will not break for previous config locations.

sbibauw avatar May 26 '21 04:05 sbibauw

I created Hammer Control which inputs the password into the prompt of the newest version of Self Control. It also lets you define a specific blacklist for every scheduled session which seems like something that you'd like.

Pandoks avatar Oct 15 '23 05:10 Pandoks