AdamWagner / stackline

Visualize yabai window stacks on macOS. Works with yabai & hammerspoon.
944 stars 47 forks source link

Accepts custom Hammerspoon config dirs in helper #97

Closed lkubb closed 1 year ago

lkubb commented 2 years ago

This removes the hardcoded Hammerspoon config path from the init.lua helper and replaces it with hs.configdir.

I have been using this small modification to the init.lua helper for the last hour. It works well with my custom config directory and thus fixes https://github.com/AdamWagner/stackline/issues/96. From what I can tell, it should not interfere with anything else.

Just wanted to give back something. This is my first contact with Lua, Hammerspoon and Stackline, so feel free to comment/modify/reject. Cheers!

AdamWagner commented 1 year ago

Very nice improvement, thank you @lkubb