Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better error message if calling yabai failed #123

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

alexpopov
Copy link
Contributor

@alexpopov alexpopov commented Jul 23, 2023

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/

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:

```
query: Error calling '/usr/local/bin/yabai -m query --windows'. Please check logs above this message to find out what went wrong.
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant