From: Benjamin Mako Hill Date: Fri, 9 Oct 2020 17:41:03 +0000 (-0700) Subject: keep chrome apps from floating X-Git-Url: https://projects.mako.cc/source/awesome-config/commitdiff_plain?ds=sidebyside keep chrome apps from floating - comment out a pop-up rule - add a specific non-floating rule for overleaf - remove title bars from basically all windows --- diff --git a/rc.lua b/rc.lua index 2289a12..5c35eb7 100644 --- a/rc.lua +++ b/rc.lua @@ -508,7 +508,6 @@ awful.rules.rules = { placement = awful.placement.no_overlap+awful.placement.no_offscreen } }, - -- Floating clients. { rule_any = { instance = { @@ -536,13 +535,18 @@ awful.rules.rules = { 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 - { 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.