Skip to content

Latest commit

 

History

History
83 lines (55 loc) · 6.27 KB

alfred.md

File metadata and controls

83 lines (55 loc) · 6.27 KB

Alfred is a powerful launcher that you can program to show anything you want. It saved me a lot of time as I use it to search through anything instantly.

It has a great community and amazing workflows that you can use.

I wrote an article on how anyone can start developing workflows of their own using Go language and AwGo library.

Workflows I use

My most used workflows at current time are:

Coupled with many small workflows I made. I hope to add more workflows of my own to the mix with time.

Alfred theme

I use Mono Light theme with macOS light appearance (during day).

I use Mono theme with macOS dark appearance (evenings & no light areas).

Snippets

I use Alfred together with Keyboard Maestro to automate text expansions. Alfred for simple expansions, KM for complex or per app expansions.

Symlink workflows

It is a great idea to symlink workflows you are working on so you can work on them in the comfort of your file system and not inside Alfred UUID named directories.

I use this script to achieve this. In example of this workflow you can use it as follows. Assuming the workflow directory contains Alfred workflow contents (info.plist file). You can run workflow-install.py -s workflow.

I can also then use this script and build my workflow with workflow-build.py -v source.

Notes

  • Package workflows from CLI with version numbers
  • Alfred can preserve a user's Hotkey shortcuts, keywords and workflow variable values. Everything else in the workflow directory gets overwritten.
  • I prefix my own workflows that I have not published out to the world with a. prefix. This way I know off hand that this workflow is either private or unreleased yet.
  • Sometimes when passing things from one object into another, you want to clear your {query} being passed to get a clean prompt. To achieve this you can set argument utility and set it as empty like here:

  • You can exclude certain folders or files from being searched. For example, if you have a file filter that searches through some folders and its contents but you don't wish for it to search some big node_modules folder. You can simply add this folder to Spotlight preferences under privacy tab like here:

Links