AdamWagner / stackline

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

Better error message if calling yabai failed #123

Open alexpopov opened 1 year ago

alexpopov commented 1 year ago

Used to just print:

** Warning:   LuaSkin: hs.task:launch() Unable to launch hs.task process: launch path not accessible

Now it prints the full command it was trying to run in addition:

query: Error calling '/usr/local/bin/yabai -m query --windows'. Please check logs above this message to find out what went wrong.

This is useful because the default path for yabai is wrong on Apple Silicone Macs using homebrew, which now installs packages into /opt/homebrew/