From: martin f. krafft Date: Wed, 3 Sep 2008 14:39:51 +0000 (+0100) Subject: match max/tiled apps by class and instance X-Git-Url: https://git.madduck.net/etc/awesome.git/commitdiff_plain/01178409beb8664d0b57cdd94f2b8d1d85864ed1?ds=sidebyside;hp=cde3a9e21f4b81b15813c656ca4dca3d2bbd31c8 match max/tiled apps by class and instance --- diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua index 364655b..4aa6c64 100644 --- a/.config/awesome/rc.lua +++ b/.config/awesome/rc.lua @@ -428,7 +428,7 @@ function hook_manage(c) end -- Override with tiledapps - c.floating = not tiledapps[inst] + c.floating = not (tiledapps[inst] or tiledapps[cls]) -- Check application->screen/tag mappings. local target @@ -446,7 +446,7 @@ function hook_manage(c) c.honorsizehints = true -- Maximise some - if maxapps[inst] then + if maxapps[inst] or maxapps[cls] then awful.client.maximize(c) end end