From 7d09f1124e02585d02cc6b362b73f08a9c4805e4 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Fri, 24 Mar 2017 10:18:44 +0100 Subject: [PATCH] handle firefox and firefox-esr --- .config/awesome/rc.lua | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 -- 2.39.2