top | item 45467353

(no title)

kbd | 4 months ago

I wonder how much of my Hammerspoon config I could replace with this...

Edit: upon reflection, not much actually: https://github.com/kbd/setup/blob/2eaeaecf76c22be3ecef5c8563...

discuss

order

james2doyle|4 months ago

Yeah hammerspoon seems a lot more capable.

I wrote two articles on using global hotkeys with hammerspoon:

https://ohdoylerules.com/tricks/hammerspoon-hyper-key/ https://ohdoylerules.com/tricks/hammerspoon-number-pad-short...

One think you can even do is detect which devices are being used and handle shortcuts differently. You can write a full on workflow that can be triggered with a keyboard shortcut if you’re using hammerspoon.

I recently switched from a homecooked keyboard "expansion" plugin to using Espanso but it can do that as well!

Graziano_M|4 months ago

I like to see your config written in fennel. Have you checked out spacehammer? It’s a config for hammerspoon written in fennel that (mostly) gives you a nested modal hidden behind a prefix that lets you make nested hotkeys.

kbd|4 months ago

I gave it a glance at some point but don’t see why I’d use it. It’s just some dude’s config. I have my caps lock rebound to a “hyper” key so every important thing is one key combo away.