mirror of
https://github.com/pinnacle-comp/pinnacle.git
synced 2025-01-13 08:01:05 +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 })
|
||||
|
||||
-- Window rules
|
||||
window.rules.add({
|
||||
cond = { class = "kitty" },
|
||||
rule = { size = { 300, 300 }, location = { 50, 50 } },
|
||||
}, {
|
||||
cond = {
|
||||
class = "XTerm",
|
||||
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" },
|
||||
})
|
||||
-- Add your own window rules here. Below is an example.
|
||||
--
|
||||
-- window.rules.add({
|
||||
-- cond = { class = "kitty" },
|
||||
-- rule = { size = { 300, 300 }, location = { 50, 50 } },
|
||||
-- }, {
|
||||
-- cond = {
|
||||
-- class = "XTerm",
|
||||
-- tag = "4",
|
||||
-- },
|
||||
-- rule = { size = { 500, 800 }, floating_or_tiled = "Floating" },
|
||||
-- })
|
||||
end)
|
||||
|
||||
---@type Layout[]
|
||||
|
|
Loading…
Reference in a new issue