Skip to content

Commit

Permalink
mac: let's give yabai a go eh
Browse files Browse the repository at this point in the history
  • Loading branch information
damncabbage committed Aug 29, 2023
1 parent 857d4a6 commit 1bab641
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
10 changes: 9 additions & 1 deletion macOS/Brewfile
Original file line number Diff line number Diff line change
Expand Up @@ -90,13 +90,19 @@ brew "neovim"
tap "homebrew/cask-fonts"
cask "font-hack-nerd-font"

# Window Management et al
tap "koekeishiya/formulae"
brew "skhd"
brew "yabai"
tap "FelixKratz/formulae"
brew "sketchybar"

### C++
# esp-if
brew "cmake"
brew "ninja"
brew "dfu-util"


### Keeb / QMK
tap "osx-cross/arm"
tap "osx-cross/avr"
Expand All @@ -114,6 +120,8 @@ cask "zsa-wally" # Flashing tool
# C dev env
#brew "ccls"

brew "chrome-cli"

cask "iterm2"
cask "wezterm"

Expand Down
10 changes: 10 additions & 0 deletions macOS/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,16 @@ prompt_to_install "macOS Preferences" && (
for app in Safari Finder Dock Mail; do killall "$app"; done
) || true

# Start up Yabai et al
yabai --start-service
skhd --start-service
brew services start felixkratz/formulae/sketchybar

# TODO:
# sudo visudo -f /private/etc/sudoers.d/yabai
# ... with:
# echo "$(whoami) ALL=(root) NOPASSWD: sha256:$(shasum -a 256 $(which yabai) | cut -d " " -f 1) $(which yabai) --load-sa"

cat <<-EOF
Manually install:
- VSCode extensions, via ~/dotfiles/support/install_vscode_extensions.sh
Expand Down

0 comments on commit 1bab641

Please sign in to comment.