Clean up example_config

This commit is contained in:
Ottatop 2023-09-07 20:56:43 -05:00
parent bae8f32d44
commit 7d2849abac

View file

@ -93,33 +93,18 @@ require("pinnacle").setup(function(pinnacle)
tag.toggle({ name = "1", output = op }) tag.toggle({ name = "1", output = op })
-- Window rules -- Window rules
window.rules.add({ -- Add your own window rules here. Below is an example.
cond = { class = "kitty" }, --
rule = { size = { 300, 300 }, location = { 50, 50 } }, -- window.rules.add({
}, { -- cond = { class = "kitty" },
cond = { -- rule = { size = { 300, 300 }, location = { 50, 50 } },
class = "XTerm", -- }, {
tag = "4", -- cond = {
}, -- class = "XTerm",
rule = { size = { 500, 800 }, floating_or_tiled = "Floating" }, -- tag = "4",
}) -- },
-- rule = { size = { 500, 800 }, floating_or_tiled = "Floating" },
window.rules.add({ -- })
cond = {
cond_all = {
class = "Alacritty",
cond_any = {
{
cond_all = {
tag = { "3", "4", "5" },
},
},
{ cond_all = { tag = { "1", "2" } } },
},
},
},
rule = { floating_or_tiled = "Floating" },
})
end) end)
---@type Layout[] ---@type Layout[]