From bec04c63dba5352c75710813047ea37084e61784 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Thu, 15 Sep 2016 15:07:57 +0200 Subject: [PATCH] Make floating the new default MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit we do exempt urxvt, firefox, icedove, chromium and gscan2pdf as those are "regulars"… --- .config/awesome/rc.lua | 36 +++++------------------------------- 1 file changed, 5 insertions(+), 31 deletions(-) diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua index a42ed9e..522fa11 100644 --- a/.config/awesome/rc.lua +++ b/.config/awesome/rc.lua @@ -536,37 +536,6 @@ awful.rules.rules = { } }, - -- Floating clients. - { rule_any = { - instance = { - "DTA", -- Firefox addon DownThemAll. - "copyq", -- Includes session name in class. - }, - class = { - "Arandr", - "Gpick", - "Kruler", - "MessageWin", -- kalarm. - "Sxiv", - "Wpa_gui", - "pinentry", - "veromix", - "xtightvncviewer", - "MuPDF", - "vlc", - "Wicd-client.py", - "Blueman-manager" - }, - - name = { - "Event Tester", -- xev. - }, - role = { - "AlarmWindow", -- Thunderbird's calendar. - "pop-up", -- e.g. Google Chrome's (detached) Developer Tools. - } - }, properties = { floating = true }}, - -- Add titlebars to normal clients and dialogs --DISABLED-- { rule_any = {type = { "normal", "dialog" } --DISABLED-- }, properties = { titlebars_enabled = true } @@ -577,6 +546,7 @@ awful.rules.rules = { { rule = { class = "URxvt" }, properties = { + floating = false, size_hints_honor = false } }, { rule = { class = "URxvt", instance = "irc" }, @@ -588,6 +558,7 @@ awful.rules.rules = { }, { rule = { class = "Firefox" }, properties = { + floating = false, -- screen = screen.count(), -- tag = screen.count() == 1 and "2" or "1" }, @@ -595,6 +566,7 @@ awful.rules.rules = { }, { rule = { class = "Icedove" }, properties = { + floating = false, -- screen = screen.count(), -- tag = screen.count() == 1 and "2" or "1" }, @@ -602,6 +574,7 @@ awful.rules.rules = { }, { rule = { class = "chromium" }, properties = { + floating = false, -- screen = screen.count(), -- tag = screen.count() == 1 and "2" or "1" }, @@ -609,6 +582,7 @@ awful.rules.rules = { }, { rule = { class = "Gscan2pdf" }, properties = { + floating = false, screen = 1, tag = "7" }, -- 2.39.5