diff --git a/awesomerc.lua b/awesomerc.lua index 6934d522d..56f1db831 100755 --- a/awesomerc.lua +++ b/awesomerc.lua @@ -459,9 +459,9 @@ awful.rules.rules = { } }, properties = { floating = true }}, - -- Set Firefox to always map on tags number 2 of screen 1. + -- Set Firefox to always map on the tag named "2" on screen 1. -- { rule = { class = "Firefox" }, - -- properties = { tag = tags[1][2] } }, + -- properties = { screen = 1, tag = "2" } }, } -- }}} diff --git a/lib/awful/rules.lua b/lib/awful/rules.lua index a001e8fc9..7724050b5 100644 --- a/lib/awful/rules.lua +++ b/lib/awful/rules.lua @@ -94,7 +94,7 @@ To match multiple clients with an exception one can couple `rules.except` or { rule_any = { class = { "Pidgin", "Xchat" } }, except_any = { role = { "conversation" } }, - properties = { tag = tags[1][1] } + properties = { tag = "1" } } { rule = {},