mirror of
https://github.com/danbee/mac-setup
synced 2025-03-04 08:39:10 +00:00
Switch to Yabai
This commit is contained in:
parent
be05d23bb9
commit
33164f51c6
2
Brewfile
2
Brewfile
@ -2,7 +2,6 @@ tap "thoughtbot/formulae"
|
|||||||
tap "heroku/brew"
|
tap "heroku/brew"
|
||||||
tap "koekeishiya/formulae"
|
tap "koekeishiya/formulae"
|
||||||
brew "asdf"
|
brew "asdf"
|
||||||
brew "chunkwm"
|
|
||||||
brew "diceware"
|
brew "diceware"
|
||||||
brew "direnv"
|
brew "direnv"
|
||||||
brew "fzf"
|
brew "fzf"
|
||||||
@ -22,6 +21,7 @@ brew "tmux"
|
|||||||
brew "vim"
|
brew "vim"
|
||||||
brew "watch"
|
brew "watch"
|
||||||
brew "wget"
|
brew "wget"
|
||||||
|
brew "yabai"
|
||||||
brew "zsh"
|
brew "zsh"
|
||||||
|
|
||||||
cask "1password"
|
cask "1password"
|
||||||
|
|||||||
@ -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
|
|
||||||
3
lib/yabai.sh
Executable file
3
lib/yabai.sh
Executable file
@ -0,0 +1,3 @@
|
|||||||
|
# Start Yabai
|
||||||
|
brew services start yabai
|
||||||
|
brew services start skhd
|
||||||
4
setup.sh
4
setup.sh
@ -66,8 +66,8 @@ step "Set git author"
|
|||||||
"$MAC_SETUP_DIR/lib/git_author.sh"
|
"$MAC_SETUP_DIR/lib/git_author.sh"
|
||||||
|
|
||||||
# Setup `chunkwm`
|
# Setup `chunkwm`
|
||||||
step "Setting up ChunkWM"
|
step "Setting up Yabai"
|
||||||
"$MAC_SETUP_DIR/lib/chunkwm.sh"
|
"$MAC_SETUP_DIR/lib/yabai.sh"
|
||||||
|
|
||||||
# Install Mac App Store apps
|
# Install Mac App Store apps
|
||||||
step "Installing App Store apps"
|
step "Installing App Store apps"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user