homebrew

Manage Alfred with @Homebrew.

Author: Daniel Bayley

Last Updated: 10/12/19 01:46:26

Stars: 23

Get Source Code

View on GitHub

badge

Homebrew + Alfred

Manage Alfred with Homebrew.

Workflows require the paid Powerpack upgrade.

Install

brew tap danielbayley/alfred
brew cask install #workflow

Contribute

git config core.hooksPath hooks and follow the contribution guide, or copy and adapt an existing.

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

plist = Dir["#{Dir.home}/Library/Preferences/com.*.Alfred-Preferences*.plist"]
syncfolder = File.expand_path `/usr/bin/defaults read #{plist.first} syncfolder`
workflows = "#{syncfolder.chomp}/Alfred.alfredpreferences/workflows/"

artifact staged_path, target: workflows + name.first

License

MIT © Daniel Bayley