dotfiles/recipes/yabai

23 lines
532 B
Bash

#!/bin/bash
# Description: Tiling window manager for OSX
set -e
_recipe _launchd
_recipe _link
_recipe brew
_link ${HOME}/dotfiles/yabai/.yabairc \
${HOME}/.yabairc
_link ${HOME}/dotfiles/yabai/.skhdrc \
${HOME}/.skhdrc
_brew_tap koekeishiya/formulae
_brew yabai
_brew koekeishiya/formulae/skhd
# Use launchd directly rather than brew services so we can configure
# the shell to use bash. There is a significant delay when using zsh
# (my preferred default).
_launchd com.koekeishiya.skhd
brew services start yabai