From a742727ead011879998904702c0069df68d7c320 Mon Sep 17 00:00:00 2001 From: Benjamin Mako Hill Date: Fri, 9 Oct 2020 10:41:03 -0700 Subject: [PATCH 1/1] 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 --- rc.lua | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) 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. -- 2.39.5