#alfred-url-mapper
This little Python script for Alfred can be used to create shortcuts for urls easily.
- Clone the repo to a folder of your choice.
- Install pyyaml e.g. with pip:
pip install pyyaml
. - Clone alp and put the library folder inside the installation path.
Create a new shortcut with following configuration:
- Keyword: "-", with space: (deselected), Argument Optional
- Placeholder title: Shortcuts
- Placeholder Subtext: empty
- "Please wait" subtext: Loading shortcuts...
- Language: /bin/bash
- Escaping (activate the following): Backquotes, Double Quotes
- Script:
<path to script>/alfred-url-mapper.py "{query}"
(don't forget the quotes around {query})
Make sure that you create a configuration file inside your home folder: ~/alfred-url-mapper.yaml
. Use the sample file provided from this repository (alfred-url-mapper.yaml
) as starting point.
TBD