Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/danielbayley/homebrew-alfred
Manage @Alfredapp with @Homebrew.
https://github.com/danielbayley/homebrew-alfred
alfred cask homebrew macos osx packal tap workflow
Last synced: 2 days ago
JSON representation
Manage @Alfredapp with @Homebrew.
- Host: GitHub
- URL: https://github.com/danielbayley/homebrew-alfred
- Owner: danielbayley
- License: mit
- Created: 2018-02-14T15:42:55.000Z (almost 7 years ago)
- Default Branch: main
- Last Pushed: 2023-12-29T17:51:00.000Z (12 months ago)
- Last Synced: 2024-11-05T05:34:18.638Z (about 2 months ago)
- Topics: alfred, cask, homebrew, macos, osx, packal, tap, workflow
- Language: Ruby
- Homepage: https://alfredapp.com
- Size: 42 KB
- Stars: 49
- Watchers: 5
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
- awesome-starred-test - danielbayley/homebrew-alfred - Manage @Alfredapp with @Homebrew. (Ruby)
README
_[Homebrew]_ + _[Alfred]_
=========================
Manage [Alfred] with [Homebrew]. [Workflows] require the paid _[Powerpack]_ upgrade.Install
-------
~~~ sh
brew tap danielbayley/alfred
brew alfred install #workflow #theme
~~~
or with [`brew bundle`] using a _[Brewfile]_:
~~~ rb
# Brewfile
tap "danielbayley/alfred"
cask "alfred-theme"
# App dependency already installed independently.
alfred "alfred-workflow", args: { "skip-cask-deps": true }
~~~[Contribute][guide]
-------------------
~~~ sh
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:
~~~ ruby
require_relative "../cmd/brew-alfred"
artifact staged_path, target: "#{HOMEBREW_ALFRED_WORKFLOW_PREFIX}.#{token}"
~~~
or with slightly different code for [themes]:
~~~ ruby
theme = "#{HOMEBREW_ALFRED_THEME_PREFIX}.#{token}"
artifact "theme.json", target: "#{theme}/theme.json"uninstall rmdir: theme
~~~License
-------
[MIT] © [Daniel Bayley][MIT]: LICENSE.md
[Daniel Bayley]: https://github.com/danielbayley[alfred]: https://alfredapp.com
[powerpack]: https://alfredapp.com/powerpack
[workflows]: https://alfredapp.com/workflows
[themes]: https://alfredapp.com/help/appearance#theme
[synced]: https://alfredapp.com/help/advanced/sync[homebrew]: https://brew.sh
[cask]: https://docs.brew.sh/Cask-Cookbook
[`brew bundle`]: https://docs.brew.sh/Manpage#bundle-subcommand
[brewfile]: https://github.com/Homebrew/homebrew-bundle#usage[guide]: https://docs.brew.sh/Adding-Software-to-Homebrew#writing-the-cask
[existing]: Casks