Something went wrong. Try again.
Minimalist spoon for showing the number of spaces and currently active space on macOS.
Something went wrong. Try again.
Spatial.spoon docs.json
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142[ { "Constant": [], "submodules": [], "Function": [], "Variable": [], "stripped_doc": [], "Deprecated": [], "desc": "Minimalist spoon for showing the number of spaces and currently active space", "type": "Module", "Constructor": [], "doc": "Minimalist spoon for showing the number of spaces and currently active space\non macOS.\n\nExample configuration using `SpoonInstall.spoon`:\n````lua\n-- Use `SpoonInstall` to install and load the Spatial spoon\nspoon.SpoonInstall:andUse(\"Spatial\", {\n -- Automatically start the spoon after installation\n start = true,\n config = {\n -- Optionally provide a custom configuration\n activeSpaceIcon = function(spaceNumber)\n return string.format(\"[ %d ]\", spaceNumber)\n end,\n inactiveSpaceIcon = function(spaceNumber)\n return string.format(\" %d \", spaceNumber)\n end\n }\n})\n```\n\nDownload: [https://tangled.org/mjj.io/Spatial.spoon](https://tangled.org/mjj.io/Spatial.spoon)", "Field": [], "Command": [], "Method": [ { "doc": "Starts Spatial\n\nParameters\n * None\n\nReturns:\n * The Spatial object", "stripped_doc": [ "Starts Spatial", "", "Parameters", " * None", "" ], "name": "start", "def": "Spatial:start()", "notes": [], "signature": "Spatial:start()", "type": "Method", "returns": [ " * The Spatial object" ], "desc": "Starts Spatial", "parameters": [] }, { "doc": "Stops Spatial\n\nParameters:\n * None\n\nReturns:\n * The Spatial object", "stripped_doc": [ "Stops Spatial", "" ], "name": "stop", "def": "Spatial:stop()", "notes": [], "signature": "Spatial:stop()", "type": "Method", "returns": [ " * The Spatial object" ], "desc": "Stops Spatial", "parameters": [ " * None", "" ] }, { "doc": "Updates the state of the menu bar\n\nParameters:\n * None\n\nReturns:\n * None", "stripped_doc": [ "Updates the state of the menu bar", "" ], "name": "updateMenuBar", "def": "Spatial:updateMenuBar()", "notes": [], "signature": "Spatial:updateMenuBar()", "type": "Method", "returns": [ " * None" ], "desc": "Updates the state of the menu bar", "parameters": [ " * None", "" ] } ], "items": [ { "doc": "Starts Spatial\n\nParameters\n * None\n\nReturns:\n * The Spatial object", "stripped_doc": [ "Starts Spatial", "", "Parameters", " * None", "" ], "name": "start", "def": "Spatial:start()", "notes": [], "signature": "Spatial:start()", "type": "Method", "returns": [ " * The Spatial object" ], "desc": "Starts Spatial", "parameters": [] }, { "doc": "Stops Spatial\n\nParameters:\n * None\n\nReturns:\n * The Spatial object", "stripped_doc": [ "Stops Spatial", "" ], "name": "stop", "def": "Spatial:stop()", "notes": [], "signature": "Spatial:stop()", "type": "Method", "returns": [ " * The Spatial object" ], "desc": "Stops Spatial", "parameters": [ " * None", "" ] }, { "doc": "Updates the state of the menu bar\n\nParameters:\n * None\n\nReturns:\n * None", "stripped_doc": [ "Updates the state of the menu bar", "" ], "name": "updateMenuBar", "def": "Spatial:updateMenuBar()", "notes": [], "signature": "Spatial:updateMenuBar()", "type": "Method", "returns": [ " * None" ], "desc": "Updates the state of the menu bar", "parameters": [ " * None", "" ] } ], "name": "Spatial" }]