homebrew

  • Created by danielbayley
  • 🗓 Last Updated: 29/12/23 17:51:00
  • 🌟 Stars on GitHub: 49
  • Please consider supporting the creator by Starring or Sponsoring them on GitHub!
  • Get Source Code

From their README

Homebrew + Alfred

Manage Alfred with Homebrew. Workflows require the paid Powerpack upgrade.

Install

brew tap danielbayley/alfred
brew alfred install #workflow #theme

or with brew bundle using a Brewfile:

# Brewfile
tap "danielbayley/alfred"
cask "alfred-theme"
# App dependency already installed independently.
alfred "alfred-workflow", args: { "skip-cask-deps": true }

Contribute

brew tap danielbayley/pipeline
git config core.hooksPath .github/hooks

and follow the contribution guide, or copy and adapt an existing Cask.

Because Alfred preferences can be synced, the following Ruby code is necessary to install the workflow into the correct folder:

require_relative "../cmd/brew-alfred"
artifact staged_path, target: "#{HOMEBREW_ALFRED_WORKFLOW_PREFIX}.#{token}"

or with slightly different code for themes:

theme = "#{HOMEBREW_ALFRED_THEME_PREFIX}.#{token}"
artifact "theme.json", target: "#{theme}/theme.json"

uninstall rmdir: theme

License

MIT © Daniel Bayley