Hammerspoon / hammerspoon

Staggeringly powerful macOS desktop automation with Lua
http://www.hammerspoon.org
MIT License
12.15k stars 587 forks source link

Configurable location for Spoons directory #3715

Open jasha-hrp opened 1 week ago

jasha-hrp commented 1 week ago

The init.lua file's location can be configured using the MJConfigFile variable.

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

I'd like like to request configurability for the Spoons directory too.

Related:

Rhys-T commented 5 days ago

See also #2887 and #2441, and the workaround I mentioned in https://github.com/Hammerspoon/hammerspoon/issues/2887#issuecomment-1276862926.