mirror of
https://github.com/pinnacle-comp/pinnacle.git
synced 2025-01-18 22:26:12 +01:00
Fix Lua default config
This commit is contained in:
parent
a8f393deb3
commit
d28f520b07
1 changed files with 2 additions and 9 deletions
|
@ -86,16 +86,9 @@ require("pinnacle").setup(function(Pinnacle)
|
|||
--
|
||||
-- `Output.setup` allows you to declare things like mode, scale, and tags for outputs.
|
||||
-- Here we give all outputs tags 1 through 5.
|
||||
--
|
||||
-- Note that output matching functions currently don't infer the type of the parameter,
|
||||
-- so you may need to add `---@param <param name> OutputHandle` above it.
|
||||
Output.setup({
|
||||
{
|
||||
function(_)
|
||||
return true
|
||||
end,
|
||||
tag_names = tag_names,
|
||||
},
|
||||
-- "*" matches all outputs
|
||||
["*"] = { tags = tag_names },
|
||||
})
|
||||
|
||||
-- If you want to declare output locations as well, you can use `Output.setup_locs`.
|
||||
|
|
Loading…
Reference in a new issue