From 7d994c389a155852ebdfa487986caf63934e9fc7 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Tue, 26 Aug 2014 15:34:33 +0200 Subject: Fix placement of Conkeror on multi-head setups --- awesome/.config/awesome/rc.lua | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'awesome/.config') diff --git a/awesome/.config/awesome/rc.lua b/awesome/.config/awesome/rc.lua index 2e329f1..e9bdbc1 100644 --- a/awesome/.config/awesome/rc.lua +++ b/awesome/.config/awesome/rc.lua @@ -443,10 +443,13 @@ awful.rules.rules = { -- properties = { tag = tags[1][2] } }, } +-- If there is more than one list of tags, add a rule that puts all +-- "Conkeror" windows on tag 1 of screen 2 (the second list of tags). if #tags > 1 then - awful.util.table.join(awful.rules.rules, - { { rule = { class = "Conkeror" }, - properties = { tag = tags[2][1] } } }) + awful.rules.rules = + awful.util.table.join(awful.rules.rules, + { { rule = { class = "Conkeror" }, + properties = { tag = tags[2][1] } } }) end -- }}} -- cgit v1.2.3-54-g00ecf