]> git.madduck.net Git - etc/awesome.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Make floating the new default
authormartin f. krafft <madduck@madduck.net>
Thu, 15 Sep 2016 13:07:57 +0000 (15:07 +0200)
committermartin f. krafft <madduck@madduck.net>
Thu, 15 Sep 2016 13:07:57 +0000 (15:07 +0200)
we do exempt urxvt, firefox, icedove, chromium and gscan2pdf as those
are "regulars"…

.config/awesome/rc.lua

index a42ed9e4100dd628941d3a9a54f7fb7381307395..522fa11db44f4b89d18159d0935340c71c55e38e 100644 (file)
@@ -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"
                },