]> git.rmz.io Git - dotfiles.git/commitdiff
fix rule for chronos
authorSamir Benmendil <samir.benmendil@gmail.com>
Mon, 14 Oct 2013 07:52:50 +0000 (09:52 +0200)
committerSamir Benmendil <samir.benmendil@gmail.com>
Mon, 14 Oct 2013 07:52:50 +0000 (09:52 +0200)
awesome/rules.lua

index 63ddfec6514e1d83236204bd402e5f224e909366..e9b66cacec0f57c204f586ee4b1b7ee969d30187 100644 (file)
@@ -10,6 +10,9 @@ if utils.host == "chronos" then wwwtag = tags[1][2] end
 if utils.host == "shada"   then imtag = tags[2][2] end
 if utils.host == "chronos" then imtag = tags[1][3] end
 
+if utils.host == "shada"   then socialtag = tags[2][4] end
+if utils.host == "chronos" then socialtag = tags[1][5] end
+
 awful.rules.rules = {
     -- All clients will match this rule.
     { rule = { },
@@ -38,7 +41,7 @@ awful.rules.rules = {
     { rule = { class = "Dwb", type = "normal", instance = "dwb" },
       properties = { tag = wwwtag } },
     { rule = { class = "Dwb", type = "normal", instance = "dwb-social" },
-      properties = { tag = tags[2][4] } },
+      properties = { tag = socialtag } },
     { rule = { class = "Qupzilla" },
       properties = { tag = wwwtag } },
     { rule = { class = "Qupzilla", name = "Detached ViewTube - QupZilla" },