AdamWagner / stackline

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

Issue enabling stackline #120

Closed szfkamil closed 1 year ago

szfkamil commented 1 year ago

I followed instructions to the letter, but I have issues enabling it via the command: yabai -m window --stack next

I received an error 'could not locate the next managed window.'

Here, I have attached some screenshots. I have yabai working correctly, and I have hamerspoon set up too. I made sure the terminal was next to the browser, also.

CleanShot 2023-03-28 at 18 22 39@2x

CleanShot 2023-03-28 at 17 47 01@2x

I might be missing something simple since I am not experienced with any of this stuff, so I apologize if that is the case and bear that in mind when reviewing the issue.

Thanks,

Ronnie76er commented 1 year ago

You did the hs.ipc.cliInstall("/opt/homebrew") command correctly inside the Hammerspoon console. That installs the command to your operating system.

The cli is meant to be run from on the MacOS terminal. So, you should be able to bring up the Terminal command (from Spotlight is probably easiest), and then in there, type which hs. That should respond with the path where it thinks that command is, most likely /opt/homebrew/bin/hs for you.