diff --git a/api/lua/pinnacle/output.lua b/api/lua/pinnacle/output.lua index c20f063..f0b99bc 100644 --- a/api/lua/pinnacle/output.lua +++ b/api/lua/pinnacle/output.lua @@ -181,11 +181,11 @@ local function output_id_matches(id_str, op) end ---@class OutputSetup ----@field filter (fun(output: OutputHandle): boolean)? ----@field mode Mode? ----@field scale number? ----@field tags string[]? ----@field transform Transform? +---@field filter (fun(output: OutputHandle): boolean)? -- A filter for wildcard matches that should return true if this setup should apply to the passed in output. +---@field mode Mode? -- Makes this setup apply the given mode to outputs. +---@field scale number? -- Makes this setup apply the given scale to outputs. +---@field tags string[]? -- Makes this setup add tags with the given name to outputs. +---@field transform Transform? -- Makes this setup applt the given transform to outputs. ---Declaratively setup outputs. --- diff --git a/api/lua/test.lua b/api/lua/test.lua deleted file mode 100644 index 9ec9c3f..0000000 --- a/api/lua/test.lua +++ /dev/null @@ -1,18 +0,0 @@ -require("pinnacle").setup(function(Pinnacle) - local Input = Pinnacle.input - local Process = Pinnacle.process - local Output = Pinnacle.output - local Tag = Pinnacle.tag - local Window = Pinnacle.window - - Input:keybind({ "shift" }, "f", function() - local focused = Window:get_focused() - if focused then - print(focused:fullscreen_or_maximized()) - -- assert(focused:fullscreen_or_maximized() == "neither") - focused:set_fullscreen(true) - print(focused:fullscreen_or_maximized()) - -- assert(focused:fullscreen_or_maximized() == "fullscreen") - end - end) -end)