diff --git a/.stow-local-ignore b/.stow-local-ignore index 2662bff..47d2899 100644 --- a/.stow-local-ignore +++ b/.stow-local-ignore @@ -5,3 +5,5 @@ \.git \.gitignore + +/scripts/install-espanso-packages diff --git a/Makefile b/Makefile index 227b1ad..1faacc0 100644 --- a/Makefile +++ b/Makefile @@ -34,7 +34,10 @@ bootstrap-app-store: --debug \ --file "$(PWD)/macOS/.config/macOS/AppStore.Brewfile" -bootstrap-non-brews: bootstrap-logitech bootstrap-amazon-workdocs +bootstrap-espanso: + @scripts/install-espanso-packages + +bootstrap-non-brews: bootstrap-logitech bootstrap-amazon-workdocs bootstrap-espanso stow: @stow --stow --verbose --target ~ */ diff --git a/macOS/.config/macOS/Brewfile b/macOS/.config/macOS/Brewfile index 46a1da7..2f3f615 100644 --- a/macOS/.config/macOS/Brewfile +++ b/macOS/.config/macOS/Brewfile @@ -1,11 +1,13 @@ tap "homebrew/cask" tap "homebrew/cask-fonts" +tap "federico-terzi/espanso" # TODO: Make the application directory a global variable ?? # set arguments for all 'brew install --cask' commands cask_args appdir: "~/Applications", require_sha: true # formula +brew "espanso" brew "fd" # required for some neovim plugins brew "git" brew "mas" diff --git a/scripts/install-espanso-packages b/scripts/install-espanso-packages new file mode 100755 index 0000000..378b8fe --- /dev/null +++ b/scripts/install-espanso-packages @@ -0,0 +1,13 @@ +#!/bin/bash + +set -e + +function installEspansoPackages() { + echo "Installing packages..." + espanso install mac-symbols + espanso install all-emojis + echo "Restarting espanso" + espanso restart +} + +installEspansoPackages