From c3f3c2477abbefa7db63a0f22275133b12bf5d7a Mon Sep 17 00:00:00 2001 From: Rob Howard Date: Wed, 8 Sep 2021 22:01:55 +1000 Subject: [PATCH] QMK: deps and setup for QMK. --- macOS/Brewfile | 17 +++++++++++++++-- macOS/setup.sh | 8 ++++++++ 2 files changed, 23 insertions(+), 2 deletions(-) diff --git a/macOS/Brewfile b/macOS/Brewfile index df9bcb7..57f0890 100644 --- a/macOS/Brewfile +++ b/macOS/Brewfile @@ -1,3 +1,5 @@ +cask_args appdir: "/Applications" + tap "homebrew/cask" tap "homebrew/cask-versions" tap "dteoh/sqa" @@ -73,16 +75,27 @@ brew "youtube-dl" # download (most) things brew "terminal-notifier" # macOS notifications +brew "lazydocker" # docker + docker-compose management + brew "carthage" # MacOS dev package manager brew "awscli" # *long sigh* +# Moonlander / QMK +tap "osx-cross/arm" +tap "osx-cross/avr" +brew "avr-gcc" +brew "arm-gcc-bin" +brew "qmk/qmk/qmk" + +tap "homebrew/cask-drivers" +brew "libusb" +cask "zsa-wally" # Flashing tool + # Neovim tap "jason0x43/homebrew-neovim-nightly" cask "neovim-nightly" -cask_args appdir: "/Applications" - cask "iterm2" cask "caffeine" # keep the machine awake diff --git a/macOS/setup.sh b/macOS/setup.sh index 3472ca4..6a0fbfe 100755 --- a/macOS/setup.sh +++ b/macOS/setup.sh @@ -40,6 +40,14 @@ prompt_to_install "CPU Temp Checker" "osx-cpu-temp" && ( git checkout 22a86f51fb1c421bafceb0aebc009bd7337982f8 && make && ./osx-cpu-temp && mv -i ./osx-cpu-temp ~/bin/ ) || true +prompt_to_install "QMK (Moonlander et al)" && ( + set -x; + QDIR=~/code/self/qmk_firmware + mkdir -p "$QDIR" + git clone git@github.com:damncabbage/qmk_firmware "$QDIR" + qmk setup -H ~/code/self/qmk_firmware damncabbage/qmk_firmware +) || true + prompt_to_install "macOS Preferences" && ( set -x;