From 01178409beb8664d0b57cdd94f2b8d1d85864ed1 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Wed, 3 Sep 2008 15:39:51 +0100 Subject: [PATCH 1/1] match max/tiled apps by class and instance --- .config/awesome/rc.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.2