rules: make Picture-in-Picture floaring, ontop and intrusive

Also, allow to toggle stickyness.
This commit is contained in:
Vincent Bernat 2021-02-25 23:18:55 +01:00
parent 56912f9900
commit 625c901d53
3 changed files with 6 additions and 2 deletions

View file

@ -53,7 +53,10 @@ awful.rules.rules = {
except = { icon_name = "QuakeConsoleNeedsUniqueName" },
properties = { },
callback = awful.client.setslave },
-- Picture in picture
{ rule = { name = "Picture-in-Picture" },
properties = { floating = true, ontop = true } },
-- Floating windows
{ rule_any = { class = { "Display.im6", "Key-mon", "Picture-in-Picture" } },
{ rule_any = { class = { "Display.im6", "Key-mon" } },
properties = { floating = true }},
}