Skip to content

Commit

Permalink
Add hammerspoon (#219)
Browse files Browse the repository at this point in the history
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 Hammerspoon/hammerspoon#2175
  • Loading branch information
swt30 authored Feb 15, 2023
1 parent 6bf757b commit 5f6e86e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions programs/hammerspoon.json
Original file line number Diff line number Diff line change
@@ -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"
}

0 comments on commit 5f6e86e

Please # to comment.