From 65fa565cef0710db0d307392249631f993b11193 Mon Sep 17 00:00:00 2001 From: Uli Schlachter Date: Sun, 10 Apr 2016 11:18:07 +0200 Subject: [PATCH] Update awful.rules tag-related examples Fixes: https://github.com/awesomeWM/awesome/issues/799 Signed-off-by: Uli Schlachter --- awesomerc.lua | 4 ++-- lib/awful/rules.lua | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/awesomerc.lua b/awesomerc.lua index 6934d522..56f1db83 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 a001e8fc..7724050b 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 = {},