dockicon

Last updated 2 months ago

Control Hammerspoon's dock icon

This module is based primarily on code from the previous incarnation of Mjolnir by Steven Degutis.

API Overview

API Documentation

Functions

bounce

Signature

hs.dockicon.bounce(indefinitely)

Type

Function

Description

Bounce Hammerspoon's dock icon

Parameters

hide

Signature

hs.dockicon.hide()

Type

Function

Description

Hide Hammerspoon's dock icon

Parameters

Returns

setBadge

Signature

hs.dockicon.setBadge(badge)

Type

Function

Description

Set Hammerspoon's dock icon badge

Parameters

show

Signature

hs.dockicon.show()

Type

Function

Description

Make Hammerspoon's dock icon visible

Parameters

Returns

visible

Signature

hs.dockicon.visible() -> bool

Type

Function

Description

Determine whether Hammerspoon's dock icon is visible

Parameters

Returns