Configs for the Hammerspoon macOS window-manager and automation framework http://www.hammerspoon.org
Clone directly to $HOME/.hammerspoon
:
git clone [email protected]:ryan-williams/hammerspoon-files.git "$HOME"/.hammerspoon
Alternatively, clone this repo to some other path:
git clone [email protected]:ryan-williams/hammerspoon-files.git
REPO="$PWD"/hammerspoon-files
and either "source" this repository's init.lua
from the default "$HOME"/.hammerspoon/init.lua
location (cf. #579):
mkdir -p "$HOME"/.hammerspoon
cat >>"$HOME"/.hammerspoon/init.lua <<EOF
package.path = "$REPO/?.lua;"..package.path
require('init')
EOF
or use the method from #582:
defaults write org.hammerspoon.Hammerspoon MJConfigFile "$REPO/init.lua"