_I’d recommend adding yabai and skhd to one’s Brewfile, which I explain why that’s so important in my Brewfile post. Once installed, one configures these two programs by writing configuration files. yabairc and skhdrc, take a look at both of these files. Notice how we map all our hotkeys in our skhdrc, this allows us to recreate most of the functionality our i3wm-gaps would grant us, including moving focus between windows, moving windows, making windows fullscreen, and much more. ![]() In addition to OS X’s default CMD + arrow, we can move workspaces as well. ![]() We’re unfortunately unable to snap to specific workspaces with hotkeys using Yabai, unless we want to disable some OS X security features. To be super clear, one can still use yabai and skhd without disabling this feature, but not all features are enabled. This led me to look back to using one of my favorite tools on OS X, hammerspoon. Hammerspoon is an incredible tool for automation. It allows you to bind hotkeys to commands, much like Skhd. Additionally, Hammerspoon has a slew of prewritten libraries one can tap into. I’ve grown quite fond of “window hints”, which is when Hammerspoon will display an icon and letter over every window. Simply pressing the corresponding window will result in that window gaining focus. This works on windows that are on different monitors too. ![]()
0 Comments
Leave a Reply. |