From: martin f. krafft Date: Fri, 24 Mar 2017 09:18:44 +0000 (+0100) Subject: handle firefox and firefox-esr X-Git-Url: https://git.madduck.net/etc/awesome.git/commitdiff_plain/7d09f1124e02585d02cc6b362b73f08a9c4805e4?ds=inline;hp=--cc;pf=etc handle firefox and firefox-esr --- 7d09f1124e02585d02cc6b362b73f08a9c4805e4 diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua index 1b99deb..9b2d326 100644 --- a/.config/awesome/rc.lua +++ b/.config/awesome/rc.lua @@ -628,6 +628,12 @@ awful.rules.rules = { }, callback = move_to_tag(screen.count() == 1 and 1 or 2, 9) }, + { rule = { class = "Firefox-esr", instance = "Navigator" }, + properties = { + floating = false, + }, + callback = move_to_tag(screen.count() == 1 and 1 or 2, 9) + }, { rule = { class = "Thunderbird", instance = "Mail" }, properties = { floating = false, @@ -728,7 +734,7 @@ client.connect_signal("focus", function(c) c.border_color = beautiful.border_foc client.connect_signal("unfocus", function(c) c.border_color = beautiful.border_normal end) awful.ewmh.add_activate_filter(function(c, context, hints) - if context == "ewmh" and c.class == "Firefox" then return false end + if context == "ewmh" and c.class == "Firefox-esr" or c.class == "Firefox" then return false end end) -- vim:ft=lua:sw=4:sts=4:ts=4:et