NeighNeighNeigh / KarabinerElements_AlfredModalMode

Using Karabiner Elements to invoke Alfred into a special modal menu state

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

KarabinerElements_AlfredModalMode

This setup allows one to invoke Alfred to a custom workflow, and remaps the numeric keypad's numbers to include the command modifier. This way Alfred can be used as a quick modal menu requiring only 2 single keystrokes to execute a list item.

How to get it working:

  1. Save the alfred_modal_mode.applescript somewhere on your machine and make it executable (how to).
  2. Install Karabiner elements .
  3. Save the alfred_modal_mode.json file in ~/.config/karabiner/assets/complex_modifications.
  4. Edit line 15 of the alfred_modal_mode.json file, replacing path/to/alfred_modal_mode.applescript with the location of the file from step 1 (dont delete the single quotes though).
  5. Import the alfred_modal_mode.workflow workflow into Alfred.
  6. Now pressing control + option + shift + command + A will launch a modal menu, and pressing 1 - 9 on your keypad will instantly launch one of the list items.

About

Using Karabiner Elements to invoke Alfred into a special modal menu state


Languages

Language:AppleScript 100.0%