docs » AClock

Just another clock, floating above all.

Configurable properties (with default values): format = "%H:%M", textFont = "Impact", textSize = 135, textColor = {hex="#1891C3"}, width = 320, height = 230, showDuration = 4, -- seconds hotkey = 'escape', hotkeyMods = {},

Download: https://github.com/Hammerspoon/Spoons/raw/master/Spoons/AClock.spoon.zip

API Overview

API Documentation

Methods

hide
Signature AClock:hide()
Type Method
Description

Hide AClock.

Parameters
  • None
Returns
  • The AClock object
Source Source/AClock.spoon/init.lua line 130
init
Signature AClock:init()
Type Method
Description

init.

Parameters
  • None
Returns
  • The AClock object
Source Source/AClock.spoon/init.lua line 54
show
Signature AClock:show()
Type Method
Description

Show AClock.

Parameters
  • None
Returns
  • The AClock object
Source Source/AClock.spoon/init.lua line 111
toggleShow
Signature AClock:toggleShow()
Type Method
Description

Show AClock for 4 seconds. If already showing, hide it.

Parameters
  • None
Returns
Source Source/AClock.spoon/init.lua line 147
toggleShowPersistent
Signature AClock:toggleShowPersistent()
Type Method
Description

Show AClock. If already showing, hide it.

Parameters
  • None
Returns
Source Source/AClock.spoon/init.lua line 168