From 33164f51c639f15065d83523c3402848de795c9e Mon Sep 17 00:00:00 2001 From: Dan Barber Date: Thu, 11 Feb 2021 21:17:01 -0500 Subject: [PATCH] Switch to Yabai --- Brewfile | 2 +- lib/chunkwm.sh | 14 -------------- lib/yabai.sh | 3 +++ setup.sh | 4 ++-- 4 files changed, 6 insertions(+), 17 deletions(-) delete mode 100755 lib/chunkwm.sh create mode 100755 lib/yabai.sh diff --git a/Brewfile b/Brewfile index 6418768..92f5696 100644 --- a/Brewfile +++ b/Brewfile @@ -2,7 +2,6 @@ tap "thoughtbot/formulae" tap "heroku/brew" tap "koekeishiya/formulae" brew "asdf" -brew "chunkwm" brew "diceware" brew "direnv" brew "fzf" @@ -22,6 +21,7 @@ brew "tmux" brew "vim" brew "watch" brew "wget" +brew "yabai" brew "zsh" cask "1password" diff --git a/lib/chunkwm.sh b/lib/chunkwm.sh deleted file mode 100755 index 045edaf..0000000 --- a/lib/chunkwm.sh +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/sh - -# Ask the user to generate a code signing key for `chunkwm` -echo "Please generate a code signing certificate called 'chunkwm-cert' in Keychain Access" -read -r -p "Press any key to continue... " -n 1 - -# We need to code sign chunkwm and skhd in order for them to be added to the -# accessibility allowed list. -codesign -fs "chunkwm-cert" $(which chunkwm) -codesign -fs "chunkwm-cert" $(which skhd) - -# Start chunkwm -brew services start chunkwm -brew services start skhd diff --git a/lib/yabai.sh b/lib/yabai.sh new file mode 100755 index 0000000..aefa369 --- /dev/null +++ b/lib/yabai.sh @@ -0,0 +1,3 @@ +# Start Yabai +brew services start yabai +brew services start skhd diff --git a/setup.sh b/setup.sh index a834a65..0e1d2f6 100755 --- a/setup.sh +++ b/setup.sh @@ -66,8 +66,8 @@ step "Set git author" "$MAC_SETUP_DIR/lib/git_author.sh" # Setup `chunkwm` -step "Setting up ChunkWM" -"$MAC_SETUP_DIR/lib/chunkwm.sh" +step "Setting up Yabai" +"$MAC_SETUP_DIR/lib/yabai.sh" # Install Mac App Store apps step "Installing App Store apps"