From: Scott Thomas Date: Wed, 15 Feb 2023 07:57:33 +0000 (+0000) Subject: Add `hammerspoon` (#219) X-Git-Tag: v0.2.0.2~101 X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/xdg-ninja.git/commitdiff_plain/5f6e86eeb2ea67458d1762a98f8b6df518afcac0 Add `hammerspoon` (#219) Hammerspoon is a program for scripting MacOS; it puts config in `~/.hammerspoon` by default. The location can be changed with the MacOS `defaults` command. See https://github.com/Hammerspoon/hammerspoon/issues/2175 --- diff --git a/programs/hammerspoon.json b/programs/hammerspoon.json new file mode 100644 index 0000000..85c06e2 --- /dev/null +++ b/programs/hammerspoon.json @@ -0,0 +1,10 @@ +{ + "files": [ + { + "help": "Add the following command to your .profile, .bashrc, .zshrc or wherever you export other environment variables:\n\n```\ndefaults write org.hammerspoon.Hammerspoon MJConfigFile \"$XDG_CONFIG_HOME\"/hammerspoon/init.lua\n```\n\n_Note: you may also just run the command once, but you will have to re-run it if you change $XDG_CONFIG_HOME. The command is idempotent, so it is safe to include in a .profile or similar._\n", + "movable": true, + "path": "$HOME/.hammerspoon" + } + ], + "name": "hammerspoon" +}