hammerspoon
hammerspoon copied to clipboard
Missing documentation for MJConfigFile
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?
Maybe this should be added to the FAQ?
http://www.hammerspoon.org/faq/
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.
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.
@dasmurphy thats also my idea to have it this way - use the better place as default and then a fallback.