update rules

This commit is contained in:
Alexander Gehrke 2021-07-12 11:40:53 +02:00
parent 0ecc9d9726
commit 8d61745f9c
2 changed files with 11 additions and 9 deletions

View file

@ -4,7 +4,7 @@ local awful = awful
-- modkey to use for most bindings -- modkey to use for most bindings
conf.modkey = "Mod4" conf.modkey = "Mod4"
-- screen number, on which rules will put clients by default -- screen, on which rules will put clients by default
conf.screen = { conf.screen = {
main = 1, main = 1,
mail = 2, mail = 2,

View file

@ -75,6 +75,8 @@ awful.rules.rules = {
properties = { screen = screen_chat, tag = "1" }}, properties = { screen = screen_chat, tag = "1" }},
{ rule = { class = "Telegram" }, { rule = { class = "Telegram" },
except = { name = "Media viewer" }, except = { name = "Media viewer" },
properties = { screen = screen_chat, tag = "3" }},
{ rule = { class = "Telegram", name = "Media viewer" },
properties = { size_hints_honor = true, float = true, fullscreen = true }}, properties = { size_hints_honor = true, float = true, fullscreen = true }},
{ rule_any = { role ={ "conversation" }, instance = { "Weechat" }}, { rule_any = { role ={ "conversation" }, instance = { "Weechat" }},
callback = awful.client.setslave }, callback = awful.client.setslave },
@ -87,8 +89,8 @@ awful.rules.rules = {
properties = { tag = "6" }}, properties = { tag = "6" }},
{ rule = { class = "Pdfpc" }, { rule = { class = "Pdfpc" },
properties = { size_hints_honor = true, float = true, fullscreen = true }}, properties = { size_hints_honor = true, float = true, fullscreen = true }},
{ rule_any = { class = {"URxvt", "Alacritty", "GVim" }}, { rule_any = { class = {"URxvt", "Alacritty", "GVim", "kitty" }},
properties = { opacity = 0.8 }}, properties = { opacity = 0.9 }},
{ rule = { name = "Awesomelog" }, { rule = { name = "Awesomelog" },
properties = { tag = "F4" }}, properties = { tag = "F4" }},
{ rule = { class = "Dragon" }, { rule = { class = "Dragon" },