docs » ZeroOffset

Display UTC time in the menu bar

Download: https://github.com/gavinest/ZeroOffset/blob/main/Spoons/ZeroOffset.spoon.zip

API Overview

API Documentation

Methods

bindHotkeys
Signature ZeroOffset:bindHotkeys(mapping)
Type Method
Description

Binds hotkeys for ZeroOffset

Parameters
  • mapping - A table containing hotkey objifier/key details for the following items:
    • toggle - This will toggle the display of the UTC time in menubar
Returns
  • The ZeroOffset object
Source Source/ZeroOffset.spoon/init.lua line 80
init
Signature ZeroOffset:init()
Type Method
Description

Initial setup for ZeroOffset

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

Starts ZeroOffset

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

Stops ZeroOffset

Parameters
  • None
Returns
  • The ZeroOffset object
Source Source/ZeroOffset.spoon/init.lua line 56