docs » HotkeyApps

Quickly ensure access to apps in the current Space via hotkeys.

Download: https://github.com/adammillerio/Spoons/raw/main/Spoons/HotkeyApps.spoon.zip

README with Example Usage: README.md

API Overview

API Documentation

Variables

logger
Signature HotkeyApps.logger
Type Variable
Description

Logger object used within the Spoon. Can be accessed to set the default log

Source Source/HotkeyApps.spoon/init.lua line 23
logLevel
Signature HotkeyApps.logLevel
Type Variable
Description

HotkeyApps specific log level override, see hs.logger.setLogLevel for options.

Source Source/HotkeyApps.spoon/init.lua line 29

Methods

bindHotkeys
Signature HotkeyApps:bindHotkeys(mapping)
Type Method
Description

Bind method, binds all provided hotkeys to their app ensure callbacks.

Parameters
  • mapping - Table of app -> hotkey mappings where app is the name of the app in the EnsureApps config.
Returns
  • None
Source Source/HotkeyApps.spoon/init.lua line 45
init
Signature HotkeyApps:init()
Type Method
Description

Spoon initializer method for EnsureApp.

Parameters
  • None
Returns
  • None
Source Source/HotkeyApps.spoon/init.lua line 34