docs » AppLauncher

Simple spoon for launching apps with single letter hotkeys.

Example configuration using SpoonInstall.spoon:

spoon.SpoonInstall:andUse("AppLauncher", {
  hotkeys = {
    c = "Calendar",
    d = "Discord",
    f = "Firefox Developer Edition",
    n = "Notes",
    p = "1Password 7",
    r = "Reeder",
    t = "Kitty",
    z = "Zoom.us",
  }
})

Download: https://github.com/Hammerspoon/Spoons/raw/master/Spoons/AppLauncher.spoon.zip

API Overview

API Documentation

Variables

modifiers
Signature AppLauncher.modifiers
Type Variable
Description

Modifier keys used when launching apps

Notes
  • Default value: {"ctrl", "alt"}
Source Source/AppLauncher.spoon/init.lua line 33

Methods

bindHotkeys
Signature AppLauncher:bindHotkeys(mapping)
Type Method
Description

Binds hotkeys for AppLauncher

Parameters
  • mapping - A table containing single characters with their associated app
Returns
Source Source/AppLauncher.spoon/init.lua line 41