mirror of
https://github.com/pinnacle-comp/pinnacle.git
synced 2025-01-14 08:01:14 +01:00
Clean up example_config
This commit is contained in:
parent
bae8f32d44
commit
7d2849abac
1 changed files with 12 additions and 27 deletions
|
@ -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[]
|
||||||
|
|
Loading…
Reference in a new issue