summaryrefslogtreecommitdiffstats
path: root/awesome
diff options
context:
space:
mode:
authorGravatar Tom Willemse2014-08-26 15:34:33 +0200
committerGravatar Tom Willemse2014-08-26 15:34:33 +0200
commit7d994c389a155852ebdfa487986caf63934e9fc7 (patch)
tree76921b72e2e18c301630d76ae20511eacb019893 /awesome
parent4281a357f484385b73f45dde6ee30cbbf5f76a3f (diff)
downloaddotfiles-7d994c389a155852ebdfa487986caf63934e9fc7.tar.gz
dotfiles-7d994c389a155852ebdfa487986caf63934e9fc7.zip
Fix placement of Conkeror on multi-head setups
Diffstat (limited to 'awesome')
-rw-r--r--awesome/.config/awesome/rc.lua9
1 files changed, 6 insertions, 3 deletions
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
-- }}}