summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorIgor Soarez <igor@soarez.org>2026-09-21 17:41:45 +0300
committerIgor Soarez <igor@soarez.org>2026-09-21 17:41:45 +0300
commit7f0049952bba4ef0e22bf25dc85da6cdfe38f104 (patch)
tree9b7ce385ba0605f06ddbe2317473fd9c4be98868 /extra
parentf957dd3ab602405a889644801efe219f85991930 (diff)
hammerspoon, ghostty: example files for their machine-local configs
ssh and git each ship one; these two hooks were discoverable only by reading the config that loads them. Both examples carry what is easy to get wrong: init.lua's hotkey() helper and mod tables are locals, so a local.lua calls hs.hotkey.bind directly, and a binding there can only be shadowed, never deleted; in Ghostty a single-value key replaces while keybind accumulates, and `ignore` is how a binding is switched off rather than added to. Checked rather than assumed: the lua parses, and the Ghostty example validates and, dropped in as ~/.config/ghostty-local, does what it says -- font-size, command and background-opacity replaced, super+shift+n added, alt+enter turned off.
Diffstat (limited to 'extra')
0 files changed, 0 insertions, 0 deletions