One recommendation is to change “shift + alt” to “hyper” if you have a “hyper” key on your keyboard (“command” + “control” + “shift” + “alt”). These could be something like “alt”, “shift + alt”, and “ctrl + alt”. The way I like to do it is to choose two primary modifiers and a third if necessary. These shortcuts are completely up to you, but you can use mine as reference. config/skhdĬreate skhd config file: touch skhdrc Add Keyboard Shortcuts To Config File Restart skhd: brew services restart skhd Create Skhd Config File in Home DirectoryĬreate directory for skhd config file and move into it (config will live in “.config/skhd/skhdrc”): mkdir. Start it like so: brew services start skhd Restart yabai: brew services restart yabai Start Skhd Start it like so: brew services start yabaiĪllow any prompts for accessibility permissions. Yabai -m rule -add app = "^Karabiner-Elements$" manage =off Start Yabai Yabai -m rule -add app = "^Calculator$" manage =off yabai -m rule -add app = "^System Settings$" manage =off Use this format for the apps you’d like to disable. # when window is dropped in center of another window, swap them (on edges it will split it)ĭisable specific apps from being managed with yabai. # set modifier + right-click drag to resize window # set modifier + left-click drag to move window # modifier for clicking and dragging with mouse Yabai -m config window_placement second_childĬonfigure window padding: # padding set to 12pxĬonfigure mouse settings: # center mouse on window with focus # default layout (can be bsp, stack or float)Ĭonfigure how window splits should be made: # New window spawns to the right if vertical split, or bottom if horizontal split If you partially disable SIP (Sytem Integrity Protection).Īll of the options I’ve configured below will work without disablingĬonfigure default layout to use: Binary Space Partitioning. There are some configuration options that will be available only Open with preferred editor and add the following (“open -t yabairc”, “code yabairc” (visual studio code), “vim yabairc”, etc…). config/yabaiĬreate yabai config file: touch yabairc Add Configuration Options to File Run the following command: brew install koekeishiya/formulae/skhd Create Yabai Config File in Home DirectoryĬreate directory for yabai config file and move into it (config will live in “.config/yabai/yabairc”): mkdir. Run the following command: brew install koekeishiya/formulae/yabai Install Skhd Run the following two commands to do so: echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' > ~/.zprofileĮval " $(/opt/homebrew/bin/brew shellenv )" Install Yabai This step shouldn’t be necessary on Intel macs. Add To Path (Only Apple Silicon Macbooks)Īfter installing, add it to the path. If you haven’t installed the XCode Command Line Tools, when prompted, press enter and homebrew will install this as well. If necessary, when prompted, enter your password here and press enter. Run the following command: /bin/bash -c " $( curl -fsSL )" Could be the default terminal or something else like iTerm2 which is what I’m currently using. Personally, I only keep “Displays Have Separate Spaces” turned on here, and that’s what I’d recommend.Turn off “Automatically Rearrange Spaces Based On Most Recent Use”.Go To System Settings > Desktop & Dock > Mission Control.Go to System Settings > Accessibility > Display.Expand Mission Control and Turn On Shortcuts for Switching Spaces 1-7 with “Ctrl + # Of Space”.Go To Keyboard Settings > Shortcuts > Mission Control.Open Several Desktops (~7) on Your Machine.Published: Configure MacOs Specific Settings
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |