Update awful.rules tag-related examples

Fixes: https://github.com/awesomeWM/awesome/issues/799
Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
Uli Schlachter 2016-04-10 11:18:07 +02:00 committed by Uli Schlachter
parent 9cc28a8da5
commit 65fa565cef
2 changed files with 3 additions and 3 deletions

View File

@ -459,9 +459,9 @@ awful.rules.rules = {
} }
}, properties = { floating = true }}, }, 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" }, -- { rule = { class = "Firefox" },
-- properties = { tag = tags[1][2] } }, -- properties = { screen = 1, tag = "2" } },
} }
-- }}} -- }}}

View File

@ -94,7 +94,7 @@ To match multiple clients with an exception one can couple `rules.except` or
{ rule_any = { class = { "Pidgin", "Xchat" } }, { rule_any = { class = { "Pidgin", "Xchat" } },
except_any = { role = { "conversation" } }, except_any = { role = { "conversation" } },
properties = { tag = tags[1][1] } properties = { tag = "1" }
} }
{ rule = {}, { rule = {},