Update layout and window rules

This commit is contained in:
Alexander Gehrke 2018-09-24 09:18:09 +02:00
parent bdae52926f
commit 4403bfcbf9
2 changed files with 9 additions and 31 deletions

View file

@ -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
}

View file

@ -66,12 +66,7 @@ end
local tagdef = {
{"1"},
{"2", { layout = awful.layout.suit.max }},
{"3", {
layout = awful.layout.suit.tile,
master_width_factor = 0.20,
column_count = 2,
master_count = 2
}},
{"3"},
{"4", { layout = awful.layout.suit.max }},
{"5"},
{"6"},