hs.dockicon.bounce(indefinitely)
hs.dockicon.hide()
hs.dockicon.setBadge(badge)
hs.dockicon.show()
hs.dockicon.tileCanvas([canvas]) -> canvasObject | nil
| | -----------------------------------------------------|---------------------------------------------------------------------------------------------------------| | Type | Function | | Description | Get or set a canvas object to be displayed as the Hamemrspoon dock icon | | Parameters |canvas
- an optional hs.canvas
object specifying the canvas to be displayed as the dock icon for Hammerspoon. If an explicit nil
is specified, the dock icon will revert to the Hammerspoon application icon.hs.dockicon.tileSize() -> size table
h
and w
keys specifying the tile height and width as numbers.hs.dockicon.tileUpdate() -> none
hs.dockicon.visible() -> bool