koekeishiya / yabai

A tiling window manager for macOS based on binary space partitioning
MIT License
22.48k stars 630 forks source link

`alt-tab : yabai -m space --focus recent` not working #2285

Open Trid-collab opened 1 month ago

Trid-collab commented 1 month ago

alt-tab : yabai -m space --focus recent doesn't seem to work with macos14.5 with the latest version of yabai and skhdrc. Could someone help me here on the what am I missing here

0xAquaWolf commented 1 month ago

Do you have the scripting additions installed correctly? Also what errors if any are your receiving?

Trid-collab commented 1 month ago

I am new yabai. Most of my other stuff are working like: alt - r : yabai -m space --rotate 90 alt - f : yabai -m window --toggle zoom-fullscreen alt - g : yabai -m space --toggle padding; yabai -m space --toggle gap

excepting this one alt - tab : yabai -m space --focus recent I just installed yabai skdrc using brew and started the service - enabled yabai at login and accessbilty and as for the config - I tried to follow from config in the internet. I am on Sonoma 14.5 and the following shows on my terminal when I run

csrutil status System Integrity Protection status: enabled. yabai_tridib.err.log

0xAquaWolf commented 1 month ago

Alright i had something similar like this happen to me before i figured it out

first you have to partially disable SIP

https://github.com/koekeishiya/yabai/wiki/Disabling-System-Integrity-Protection

then after that you are going to need to install the scripting additions

https://github.com/koekeishiya/yabai/wiki/Installing-yabai-(latest-release)#configure-scripting-addition

lastly make sure to uncomment the last line from the sudoers file sudo visudo -f /private/etc/sudoers

it should read

#includedir /private/etc/sudoers.d

then reboot your mac