Control Hammerspoon's dock icon
This module is based primarily on code from the previous incarnation of Mjolnir by Steven Degutis.
Signature | hs.dockicon.bounce(indefinitely) |
---|---|
Type | Function |
Description | Bounce Hammerspoon's dock icon |
Parameters |
|
Returns |
|
Source | extensions/dockicon/libdockicon.m line 50 |
Signature | hs.dockicon.hide() |
---|---|
Type | Function |
Description | Hide Hammerspoon's dock icon |
Parameters |
|
Returns |
|
Source | extensions/dockicon/libdockicon.m line 36 |
Signature | hs.dockicon.setBadge(badge) |
---|---|
Type | Function |
Description | Set Hammerspoon's dock icon badge |
Parameters |
|
Returns |
|
Source | extensions/dockicon/libdockicon.m line 64 |
Signature | hs.dockicon.show() |
---|---|
Type | Function |
Description | Make Hammerspoon's dock icon visible |
Parameters |
|
Returns |
|
Source | extensions/dockicon/libdockicon.m line 22 |
Signature | hs.dockicon.tileCanvas([canvas]) -> canvasObject | nil |
---|---|
Type | Function |
Description | Get or set a canvas object to be displayed as the Hammerspoon dock icon |
Parameters |
|
Returns |
|
Notes |
|
Source | extensions/dockicon/libdockicon.m line 83 |
Signature | hs.dockicon.tileSize() -> size table |
---|---|
Type | Function |
Description | Returns a table containing the size of the tile representing the dock icon. |
Parameters |
|
Returns |
|
Notes |
|
Source | extensions/dockicon/libdockicon.m line 118 |
Signature | hs.dockicon.tileUpdate() -> none |
---|---|
Type | Function |
Description | Force an update of the dock icon. |
Parameters |
|
Returns |
|
Notes |
|
Source | extensions/dockicon/libdockicon.m line 139 |
Signature | hs.dockicon.visible() -> bool |
---|---|
Type | Function |
Description | Determine whether Hammerspoon's dock icon is visible |
Parameters |
|
Returns |
|
Source | extensions/dockicon/libdockicon.m line 7 |