From: martin f. krafft Date: Thu, 15 Sep 2016 13:07:57 +0000 (+0200) Subject: Make floating the new default X-Git-Url: https://git.madduck.net/etc/awesome.git/commitdiff_plain/bec04c63dba5352c75710813047ea37084e61784?ds=sidebyside Make floating the new default we do exempt urxvt, firefox, icedove, chromium and gscan2pdf as those are "regulars"… --- 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" },