]> projects.mako.cc - awesome-config/blobdiff - rc.lua
keep chrome apps from floating
[awesome-config] / rc.lua
diff --git a/rc.lua b/rc.lua
index 2289a1217c81303dbae248c34bf3132e0bc189e4..5c35eb73b4d4871105462b2915dace5dbf0b4972 100644 (file)
--- a/rc.lua
+++ b/rc.lua
@@ -508,7 +508,6 @@ awful.rules.rules = {
                      placement = awful.placement.no_overlap+awful.placement.no_offscreen
      }
     },
                      placement = awful.placement.no_overlap+awful.placement.no_offscreen
      }
     },
-
     -- Floating clients.
     { rule_any = {
         instance = {
     -- Floating clients.
     { rule_any = {
         instance = {
@@ -536,13 +535,18 @@ awful.rules.rules = {
         role = {
           "AlarmWindow",  -- Thunderbird's calendar.
           "ConfigManager",  -- Thunderbird's about:config.
         role = {
           "AlarmWindow",  -- Thunderbird's calendar.
           "ConfigManager",  -- Thunderbird's about:config.
-          "pop-up",       -- e.g. Google Chrome's (detached) Developer Tools.
+          -- this is commented out to try to keep all chrom(e|ium) apps from being floating
+          -- "pop-up",       -- e.g. Google Chrome's (detached) Developer Tools.
         }
       }, properties = { floating = true }},
 
     -- Add titlebars to normal clients and dialogs
         }
       }, properties = { floating = true }},
 
     -- Add titlebars to normal clients and dialogs
-    { rule_any = {type = { "normal", "dialog" }
-      }, properties = { titlebars_enabled = true }
+    -- { rule_any = {type = { "normal", "dialog" }
+    --   }, properties = { titlebars_enabled = true }
+    -- },
+    -- make so that overleaf is not floating
+    { rule = { class = "crx_gjoaplgcpnmemdaklplebdapjihcoibe" },
+      properties = {floating = false}
     },
 
     -- Set Firefox to always map on the tag named "2" on screen 1.
     },
 
     -- Set Firefox to always map on the tag named "2" on screen 1.

Benjamin Mako Hill || Want to submit a patch?