-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Here is a list of workflows I use with Alfred on my Mac.
Alfred is a Mac app to launch apps, search the web and automate things with Workflows
- Download
- Post-Install:
brew install blueutil
- Usage:
-
btd
: lists Bluetooth devices represented with a 🦷 (🔴 red when disabled, 🔵 blue when enabled)-
⮐
toggles (on/off) the selected Bluetooth device in the list
-
-
btt
: toggles (on/off) the Bluetooth functionality on this Mac
-
I find this one very useful to pair my Airpods and other Bluetooth headphones.
Type btdev⮐
to display to list the Bluetooth devices available, then choose the one to pair/unpair.
Change the input/output audio device
Download
Type either input/⮐
or output/⮐
to list the audio device(s) available,
then select the audio device to use in the list.
Read more..
Search through GitHub
Download
Type gh github_username_here
to search for a Github user and list his/her repositories,
next, choose a repository then press ⮐
to open it in the browser.
Many other variants are available to view issues, pull requests, wiki, branches, files, and many more...
Example:
gh ebouchut/learn-git
Search for a movie (or TV show) and get a few ratings
Download
Type either movie title⮐
or tv title⮐
to list the movies/series with this title,
choose the one you are interested in to get its ratings on IMDB, Roten Tomato, and Metacritic,
a link view the trailer on YouTube if it is available
along with the name of the director, actors, and writer.
Search for songs, artists, playlists, play music in Spotify all within Alfred.
Download
Add and search Pinboard for bookmarks
Works with the main browsers (including Opera).
Download
Add and search Pinboard for bookmarks (written in Rust).
More
Download
Very handy to URL/HTML/Unicode encode/decode text.
Download
Handy to generate a UUID unique over space and time.
-
uuid ⮐
output a new UUID (all uppercase) followed by a newline -
uuid <Control>⮐
output a new UUID (all lowercase) followed by a newline -
uuid <ALT>⮐
output a new UUID (all uppercase) without newline
This one provides a fuzzy search over folders.
Download
-
fo partial_folder_name_here ⮐
lists the folders that match your search query.- Choose a folder:
-
⮐
cd to the chosen folder from the currentiTerm
tab -
Shift
+⮐
Open the folder in an editor -
Alt
+⮐
Open the README file in this folder in an editor - and other niceties
To quickly compute the percentage caculation.
Download
Type | Description | Example | Result |
---|---|---|---|
Percent Change (increase/decrease) | What is the percent change of 3 and 6? | % 3 6 |
100% |
Percentage Of | 3 is what percent of 100 | % 3 of 100 |
3% |
Percent Of | 5 percent of 100 is 5 | % 5% of 100 |
5.0 |
Percent Decrease | What is 2 percent from 100 | % 100 - 2% |
98.0 |
Percent Increase | What is 100 + 2% | % 100 + 2% |
102 |
Original number before Percent Decrease | What number is 100 2 percent less than? | % 100 is 2% lt |
102.4 |
Original number before Percent Increase | What number is 100 2 percent more than? | % 100 is 2% gt |
98.0 |
Remove characters from phone number (spaces, dashes, parentheses) and copy the cleaned number to clipboard.
Download
Convert from Epoch timestamp to (UTC or local) date back and forth, like so:
ts 1558699740
ts 2019-05-24 13:09:00
Change the case of text on the clipboard to either:
UPPERCASE
lowercase
-
Titlecase
(The initial letter of a word is capitalized) -
CamelCase
(each word's initial letter is capitalized) -
snake_case
(with an underscore in between words) -
kebab-case
(with a dash sign in between words)
Use either of the following to trigger this workflow:
case
tt
transform
Pipe the clipboard to any shell command and copy its result (standard output) to the clipboard.
| sort
sorts the clipboard and copy the result to the clipboard
Evaluate bitwise expressions and display the result in binary, octal, decimal, hexadecimal.
Example:
bitwise (1|2)<<6&~100^0b01
bitwise 0xF42
Convert between different units.
Example:
conv 1 USD EUR
conv 1 km mm