]> 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:

default to non-floating, except dialogs and mupdf
authormartin f. krafft <madduck@madduck.net>
Thu, 30 Mar 2017 08:11:51 +0000 (10:11 +0200)
committermartin f. krafft <madduck@madduck.net>
Thu, 30 Mar 2017 08:11:51 +0000 (10:11 +0200)
.config/awesome/rc.lua

index 42544e5a318fb103e0abf00d553cb98f66d6662b..c0693e8790bcd9e9ed67d75a3e88f60542440a5f 100644 (file)
@@ -599,7 +599,7 @@ awful.rules.rules = {
                      buttons = clientbuttons,
                      screen = awful.screen.preferred,
                      placement = awful.placement.no_overlap+awful.placement.no_offscreen,
                      buttons = clientbuttons,
                      screen = awful.screen.preferred,
                      placement = awful.placement.no_overlap+awful.placement.no_offscreen,
-                     floating = true
+                     floating = false
                  },
     },
 
                  },
     },
 
@@ -609,7 +609,10 @@ awful.rules.rules = {
     --DISABLED-- },
 
     { rule = { type = "dialog" },
     --DISABLED-- },
 
     { rule = { type = "dialog" },
-      properties = { placement = awful.placement.centered }},
+      properties = { floating = true,
+                     placement = awful.placement.centered
+                 }
+    },
 
     { rule = { class = "URxvt" },
                properties = {
 
     { rule = { class = "URxvt" },
                properties = {
@@ -662,6 +665,11 @@ awful.rules.rules = {
                    floating = false,
                },
            },
                    floating = false,
                },
            },
+    { rule = { class = "MuPDF", type = "mupdf" },
+               properties = {
+                   floating = true,
+               },
+           },
 }
 -- }}}
 
 }
 -- }}}