Update layout and window rules
This commit is contained in:
parent
bdae52926f
commit
4403bfcbf9
33
rules.lua
33
rules.lua
|
@ -44,23 +44,13 @@ awful.rules.rules = {
|
|||
end
|
||||
end
|
||||
},
|
||||
{ rule = { class = "qutebrowser", type = "utility" },
|
||||
-- workaround for qutebrowser dropdown problems. does not fully fix the
|
||||
-- problems :-/
|
||||
properties = {
|
||||
border_width = 0, focus = false,
|
||||
floating = true, size_hints_honor = true,
|
||||
focusable = false, skip_taskbar = true,
|
||||
ontop = true, above = true,
|
||||
placement = function() return false end,
|
||||
}
|
||||
},
|
||||
{ rule = { name = "", class = "jetbrains-idea", type = "dialog" },
|
||||
properties = { placement = false },
|
||||
callback = function(c)
|
||||
c:connect_signal("unfocus", function() client.focus = c end)
|
||||
end
|
||||
},
|
||||
{ rule = { class = "qutebrowser" }, properties = { tag = "3" } },
|
||||
--{ rule = { name = "", class = "jetbrains-idea", type = "dialog" },
|
||||
-- properties = { placement = false },
|
||||
-- callback = function(c)
|
||||
-- c:connect_signal("unfocus", function() client.focus = c end)
|
||||
-- end
|
||||
--},
|
||||
{
|
||||
rule = { class = "Passprompt" },
|
||||
properties = { ontop = true, focus = true}
|
||||
|
@ -81,13 +71,6 @@ awful.rules.rules = {
|
|||
}},
|
||||
properties = { floating = true, size_hints_honor = true }
|
||||
},
|
||||
{
|
||||
rule = { class = "Firefox", instance = "Navigator" },
|
||||
properties = {
|
||||
screen = 1, tag = "2",
|
||||
floating = false, minimized = false
|
||||
},
|
||||
},
|
||||
{
|
||||
rule_any = { class = {"Pidgin"}, instance = {"Weechat"} },
|
||||
properties = {
|
||||
|
@ -179,7 +162,7 @@ awful.rules.rules = {
|
|||
}
|
||||
},
|
||||
{
|
||||
rule_any = { class = {"URxvt", "Alacritty", "GVim", "G%l*" } },
|
||||
rule_any = { class = {"URxvt", "Alacritty", "GVim" } },
|
||||
properties = {
|
||||
opacity = 0.8
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue