Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing documentation for MJConfigFile #3103

Open
muescha opened this issue Jan 31, 2022 · 4 comments
Open

Missing documentation for MJConfigFile #3103

muescha opened this issue Jan 31, 2022 · 4 comments

Comments

@muescha
Copy link
Contributor

muescha commented Jan 31, 2022

i miss a info in the documentation that i can change the location for the MJConfigFile preference:

defaults write org.hammerspoon.Hammerspoon MJConfigFile "~/.config/hammerspoon/init.lua"

where would be the best location to add this?

@latenitefilms
Copy link
Contributor

Maybe this should be added to the FAQ?

http://www.hammerspoon.org/faq/

@cmsj
Copy link
Member

cmsj commented Jan 31, 2022

This was always intentionally hidden to keep things simple - we made the initial mistake of using ~/.hammerspoon/ instead of ~/.config/hammerspoon and this config option was added for people who really wanted to relocate it.

My only issue with prominently documenting it is that then we'll have more people moving their config and things will generally get more confusing.

@dasmurphy
Copy link

May be adding looking first in ~/.config/hammerspoon for a config and then in ./hammerspoon/ as default to make a slow switch to a new config folder. For new users use then ~/.config/hammerspoon.

@muescha
Copy link
Contributor Author

muescha commented Feb 16, 2022

@dasmurphy thats also my idea to have it this way - use the better place as default and then a fallback.

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

No branches or pull requests

4 participants