Created
February 17, 2021 08:17
-
-
Save mbigras/abb8653e56999731b1efe054d501541b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Disable macOS System Integrity Protection SIP | |
# | |
# csrutil status | |
# csrutil disable | |
# Configure personal account to run yabai as root | |
# | |
# create a new file for writing - visudo uses the vim editor by default. | |
# go read about this if you have no idea what is going on. | |
# sudo visudo -f /private/etc/sudoers.d/yabai | |
# input the line below into the file you are editing. | |
# replace <user> with your username (output of: whoami). | |
# change the path to the yabai binary if necessary (output of: which yabai) | |
# <user> ALL = (root) NOPASSWD: /usr/local/bin/yabai --load-sa | |
# Yabai configuration | |
sudo yabai --load-sa | |
yabai -m signal --add event=dock_did_restart action="sudo yabai --load-sa" | |
yabai -m config focus_follows_mouse autofocus |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment