From 882ca4b99d64ad1dc092ac0e68bf4d68ed8d8e19 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Thu, 26 Feb 2015 09:39:38 +0100 Subject: [PATCH] Only create a single tag per screen to begin with --- awesome/.config/awesome/rc.lua | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/awesome/.config/awesome/rc.lua b/awesome/.config/awesome/rc.lua index be44348..ef32e14 100644 --- a/awesome/.config/awesome/rc.lua +++ b/awesome/.config/awesome/rc.lua @@ -132,9 +132,17 @@ end -- {{{ Tags -- Define a tag table which hold all screen tags. tags = {} -for s = 1, screen.count() do - -- Each screen has its own tag table. - tags[s] = awful.tag({ 1, 2, 3, 4, 5, 6, 7, 8, 9 }, s, layouts[1]) +tags[1] = awful.tag({"Emacs"}, 1, awful.layout.suit.tile) + +if screen.count() > 1 then + tags[2] = awful.tag({"Web"}, 2, awful.layout.suit.max) + + if screen.count() > 2 then + for s = 3, screen.count() do + -- Each screen has its own tag table. + tags[s] = awful.tag({ 1, 2, 3, 4, 5, 6, 7, 8, 9 }, s, layouts[1]) + end + end end -- }}}