pinnacle/api/lua/doc/pinnacle.lua

36 lines
905 B
Lua
Raw Normal View History

2023-08-01 18:06:35 +02:00
-- SPDX-License-Identifier: GPL-3.0-or-later
2023-07-23 00:43:36 +02:00
---The configuration entry point.
2023-07-24 16:15:51 +02:00
---@module PinnacleModule
2023-07-23 00:43:36 +02:00
local pinnacle = {
---Input and keybinds
---@tparam InputModule input
---@see InputModule
input = nil,
---Window management
---@tparam WindowModule window
---@see WindowModule
window = nil,
---Process management
---@tparam ProcessModule process
---@see ProcessModule
process = nil,
---Tag management
---@tparam TagModule tag
---@see TagModule
tag = nil,
---Output management
---@tparam OutputModule output
---@see OutputModule
output = nil,
}
2023-07-24 16:15:51 +02:00
---Quit Pinnacle.
function pinnacle.quit() end
---Configure Pinnacle.
---
---You should put mostly eveything into the config_func to avoid invalid state.
---@tparam function config_func A function that takes in the `Pinnacle` table.
function pinnacle.setup(config_func) end