From: Samir Benmendil Date: Tue, 16 Dec 2014 13:37:34 +0000 (+0000) Subject: awesome: ncmpcpp on tag 9 when only one screen X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/d1a82057ed8a2fc94035c617fe4df91132189181?ds=inline awesome: ncmpcpp on tag 9 when only one screen --- diff --git a/awesome/rules.lua b/awesome/rules.lua index a78a85f..a3f8dbd 100644 --- a/awesome/rules.lua +++ b/awesome/rules.lua @@ -4,7 +4,7 @@ local utils = require("utils") local sc = screen.count() if sc == 2 then mediatag = tags[2][3] end -if sc == 1 then mediatag = tags[1][4] end +if sc == 1 then mediatag = tags[1][9] end if sc == 2 then wwwtag = tags[2][1] end if sc == 1 then wwwtag = tags[1][2] end @@ -13,7 +13,7 @@ if sc == 2 then imtag = tags[2][2] end if sc == 1 then imtag = tags[1][3] end if sc == 2 then socialtag = tags[2][4] end -if sc == 1 then socialtag = tags[1][5] end +if sc == 1 then socialtag = tags[1][4] end awful.rules.rules = { -- All clients will match this rule.