]> git.rmz.io Git - dotfiles.git/blobdiff - awesome/rules.lua
awesome: add rules for placing urxvt windows
[dotfiles.git] / awesome / rules.lua
index e9b66cacec0f57c204f586ee4b1b7ee969d30187..9d1394268557f0d3479876bf817fb01863ded0fd 100644 (file)
@@ -38,15 +38,18 @@ awful.rules.rules = {
     { rule = { class = "Clementine" },
       properties = { tag = mediatag,
                      switchtotag = true } },
+    { rule = { class = "URxvt", instance = "mutt" },
+      properties = { tag = wwwtag,
+                     function (c) awful.client.setslave(c) end } },
     { rule = { class = "Dwb", type = "normal", instance = "dwb" },
-      properties = { tag = wwwtag } },
+      properties = { tag = wwwtag,
+                     function (c) awful.client.setmaster(c) end } },
     { rule = { class = "Dwb", type = "normal", instance = "dwb-social" },
       properties = { tag = socialtag } },
-    { rule = { class = "Qupzilla" },
-      properties = { tag = wwwtag } },
-    { rule = { class = "Qupzilla", name = "Detached ViewTube - QupZilla" },
-      properties = { floating = true } },
-    { rule = { class = "Quassel" },
+    { rule = { class = "URxvt", instance = "ncmpcpp" },
+      properties = { tag = mediatag,
+                     function (c) awful.client.setmaster(c) end } },
+    { rule = { class = "URxvt", instance = "weechat" },
       properties = { tag = imtag,
                      function (c) awful.client.setmaster(c) end } },
     { rule = { class = "Kopete" },