You are not logged in.

#1 2009-05-30 16:17:54

deadlylife
Member
Registered: 2008-12-24
Posts: 120

Custom tag names in Awesome WM?

How do I create custom tag names in the Awesome WM?

Offline

#2 2009-05-30 17:35:53

KlavKalashj
Member
Registered: 2008-10-09
Posts: 376

Re: Custom tag names in Awesome WM?

Hi!

You did not specify which version you are running... So I just thought it might help if I posted the relevant part of my config. I think there is other ways to do it, but this works for me, in both the version in AUR, which is a snapshot of 3.3 development version, and the newest 3.3-rc4. Perhaps it might work in earlier versions too! Enjoy:

-- {{{ Tags
-- Define tags table.
tags = {}
tags.settings = {
    { name = "urxvt",   layout = layouts[1],  },
    { name = "www",     layout = layouts[1],  },
    { name = "media",   layout = layouts[7]  },
    { name = "mail",    layout = layouts[7],  },
    { name = "other",   layout = layouts[10], setslave = true },
}

-- Initialize tags
 for s = 1, screen.count() do
 tags[s] = {}
 for i, v in ipairs(tags.settings) do
 tags[s][i] = tag(v.name)
 tags[s][i].screen = s
 awful.tag.setproperty(tags[s][i], "layout",   v.layout)
 awful.tag.setproperty(tags[s][i], "setslave", v.setslave)
 awful.tag.setproperty(tags[s][i], "mwfact",   v.mwfact)
end
 tags[s][1].selected = true
end
-- }}}

You can find my entire config at: http://dotfiles.org/~KlavKalashj

Last edited by KlavKalashj (2009-05-30 17:36:12)

Offline

#3 2009-05-30 18:36:00

Barghest
Member
From: Hanau/Germany
Registered: 2008-01-03
Posts: 563

Re: Custom tag names in Awesome WM?

What effect has "setslave = true"?

Thanks

Offline

#4 2009-05-30 21:07:22

moljac024
Member
From: Serbia
Registered: 2008-01-29
Posts: 2,676

Re: Custom tag names in Awesome WM?

Barghest wrote:

What effect has "setslave = true"?

Thanks

I reckon it makes every new window go to the side, or bottom or where ever the smaller ones are, e.g. not set it as master


The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...

Offline

#5 2009-05-31 13:48:00

anrxc
Member
From: Croatia
Registered: 2008-03-22
Posts: 834
Website

Re: Custom tag names in Awesome WM?

But in this context it is useless, because no such property exists (setslave can be turned on or off for all, not selectively)... this artificial property needs to come with a counterpart in the manage hook that will actually check if you set the setslave property for a tag and only then enforce setslave.


You need to install an RTFM interface.

Offline

Board footer

Powered by FluxBB