Utility and management functions for Spoons Spoons are Lua plugins for Hammerspoon. See https://www.hammerspoon.org/Spoons/ for more information
Signature | hs.spoons.bindHotkeysToSpec(def, map) -> none |
---|---|
Type | Function |
Description | Map a number of hotkeys according to a definition table |
Parameters |
|
Returns |
|
Source | extensions/spoons/spoons.lua line 123 |
Signature | hs.spoons.isInstalled(name) -> table | nil |
---|---|
Type | Function |
Description | Check if a given Spoon is installed. |
Parameters |
|
Returns |
|
Source | extensions/spoons/spoons.lua line 182 |
Signature | hs.spoons.isLoaded(name) -> boolean | nil |
---|---|
Type | Function |
Description | Check if a given Spoon is loaded. |
Parameters |
|
Returns |
|
Source | extensions/spoons/spoons.lua line 201 |
Signature | hs.spoons.list() -> table |
---|---|
Type | Function |
Description | Return a list of installed/loaded Spoons |
Parameters |
|
Returns |
|
Source | extensions/spoons/spoons.lua line 148 |
Signature | hs.spoons.newSpoon(name, basedir, metadata, [template]) -> string | nil |
---|---|
Type | Function |
Description | Create a skeleton for a new Spoon |
Parameters |
|
Returns |
|
Source | extensions/spoons/spoons.lua line 40 |
Signature | hs.spoons.resourcePath(partial) -> string |
---|---|
Type | Function |
Description | Return full path of an object within a spoon directory, given its partial path. |
Parameters |
|
Returns |
|
Source | extensions/spoons/spoons.lua line 110 |
Signature | hs.spoons.scriptPath([n]) -> string |
---|---|
Type | Function |
Description | Return path of the current spoon. |
Parameters |
|
Returns |
|
Source | extensions/spoons/spoons.lua line 95 |
Signature | hs.spoons.use(name, arg, [noerror]) -> boolean | nil |
---|---|
Type | Function |
Description | Declaratively load and configure a Spoon |
Parameters |
|
Returns |
|
Source | extensions/spoons/spoons.lua line 220 |