koekeishiya / skhd

Simple hotkey daemon for macOS
MIT License
6.05k stars 204 forks source link

`zsh:1: command not found: yabai` - only when running the service #353

Closed CH4O7IC closed 3 months ago

CH4O7IC commented 4 months ago

Installed yabai and skhd via brew. When running skhd --start-service my keybinds not using yabai work as intended. Whenever I try to run a keybind using yabai the line from the title is added to the error log. However, if I just run skhd in a terminal (after stopping the service of course) all my keybinds work just fine.

avrahamappel commented 3 months ago

Possibly duplicate of https://github.com/koekeishiya/skhd/issues/350

CH4O7IC commented 3 months ago

Ah yes, it seems it was after all. Calling eval "$(/opt/homebrew/bin/brew shellenv)" inside my .zshenv did the trick. Tnanks