mirror of
https://github.com/pinnacle-comp/pinnacle.git
synced 2024-12-26 21:58:10 +01:00
Explain placement of window.rules.add()
This commit is contained in:
parent
7d2849abac
commit
fb09f088a9
1 changed files with 5 additions and 0 deletions
|
@ -95,6 +95,11 @@ require("pinnacle").setup(function(pinnacle)
|
|||
-- Window rules
|
||||
-- Add your own window rules here. Below is an example.
|
||||
--
|
||||
-- These currently need to be added inside of `connect_for_all` because
|
||||
-- it only runs after the whole config is parsed, so any specified tags won't be availible outside
|
||||
-- of this function. This means that if you have multiple monitors,
|
||||
-- these rules will be duplicated unless you write in some logic to prevent that.
|
||||
--
|
||||
-- window.rules.add({
|
||||
-- cond = { class = "kitty" },
|
||||
-- rule = { size = { 300, 300 }, location = { 50, 50 } },
|
||||
|
|
Loading…
Reference in a new issue