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

Default value: {"ctrl", "alt"}

Source Source/AppLauncher.spoon/init.lua

Methods

bindHotkeys
Signature AppLauncher:bindHotkeys(mapping)
Type Method
Description

Binds hotkeys for AppLauncher

Parameters:

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