X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/5cdc59b54d955ad5ef2720326ab006b1cf678439..7d09f1124e02585d02cc6b362b73f08a9c4805e4:/.config/awesome/rc.lua 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