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
end end
}, },
{ rule = { class = "qutebrowser", type = "utility" }, { rule = { class = "qutebrowser" }, properties = { tag = "3" } },
-- workaround for qutebrowser dropdown problems. does not fully fix the --{ rule = { name = "", class = "jetbrains-idea", type = "dialog" },
-- problems :-/ -- properties = { placement = false },
properties = { -- callback = function(c)
border_width = 0, focus = false, -- c:connect_signal("unfocus", function() client.focus = c end)
floating = true, size_hints_honor = true, -- end
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 = "Passprompt" }, rule = { class = "Passprompt" },
properties = { ontop = true, focus = true} properties = { ontop = true, focus = true}
@ -81,13 +71,6 @@ awful.rules.rules = {
}}, }},
properties = { floating = true, size_hints_honor = true } 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"} }, rule_any = { class = {"Pidgin"}, instance = {"Weechat"} },
properties = { properties = {
@ -179,7 +162,7 @@ awful.rules.rules = {
} }
}, },
{ {
rule_any = { class = {"URxvt", "Alacritty", "GVim", "G%l*" } }, rule_any = { class = {"URxvt", "Alacritty", "GVim" } },
properties = { properties = {
opacity = 0.8 opacity = 0.8
} }

View file

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