On Thu, Feb 25, 2010 at 09:32:00PM -0500, Mister Itanium wrote:
> Hello,
> I'm using awesome v3.4.3 on a dual monitor setup.
> What I'm trying to do is setup different TAG names on each monitor.
> 
> EX:
> Monitor 1 tags: "1, 2, 3"
> Monitor 2 tags: "4, 5, 6"
> 
> How can I accomplish this?

I am using the following code to set up my tags per screen:

tags = {}
tagnames = {}
taglayouts = {}
tagcount = { 8, 8 } 
tagnames[1] = { "sh","www","panels","media","emerge","code","remote","float" }
taglayouts[1] = { layouts[2], layouts[2], layouts[2], layouts[2], layouts[2], 
layouts[2], layouts[2], layouts[12] }

tagnames[2] = { "sh","www","mail","vm","dl","code","remote","float"}
taglayouts[2] = { layouts[1], layouts[1], layouts[1], layouts[1], layouts[1], 
layouts[1], layouts[1], layouts[12] }

for s = 1, screen.count() do
        -- Each screen has its own tag table.
        tags[s] = awful.tag(tagnames[s], s)
        for tagnumber = 1, tagcount[s] do
                awful.layout.set(taglayouts[s][tagnumber],tags[s][tagnumber])
        end 
end

-- 
Alex Alexander :: wired
Gentoo Developer
www.linuxized.com

Attachment: pgp2XVUN0jpig.pgp
Description: PGP signature

Reply via email to