Thanks, that helps a lot.
On Wed, Aug 05, 2015 at 04:20:26PM +0200, Uli Schlachter wrote:
> Hi,
>
> Am 05.08.2015 um 10:19 schrieb Fran:
> [...]
> > 1) menus - I'd like text rather than the awesome image to click on to open
> > my menu. There doesn't seem to be an easy way to do this? I'm guessing
> > maybe I could do it with a textbox widget but I'm completely out of ideas.
>
> mylauncher = wibox.widget.textbox("Foo")
> mylauncher:buttons(awful.button({}, 1, nil, function() mymainmenu:toggle()
> end))
>
Worked perfectly, thanks!
> > 2) tags - if you've got named tags rather than numbered how do you refer to
> > them? I've got different tags on each screen and I want to make certain
> > that Firefox only ever opens in the WWW tag on screen 1. Can I refer to
> > this by name? If not how do I know which number tag it is?
> [...]
>
> Uhm. How do you create the tags? I assume awful.tag({ "first", "second",
> "third"
> }), right? This creates the tags in order. So tag 1 will be "first", 2 will be
> "second" etc.
>
> If you use something more dynamic for managing tags, well, that code surely
> must
> be involved somehow. What are you using?
tags = {
settings = {
{ names = { "www", "mail", "im" },
layout = { layouts[2], layouts [11], layouts[11] }
},
{ names = { "xterm", "editor" },
layout = { layouts[2], layouts[11] }
}}}
for s = 1, screen.count() do
tags[s] = awful.tags(tags.settings[s].names, s, tags.settings[s].layout)
end
So - does this mean, for example, my www is [1][1] and my editor is [2][2]?
Thanks,
Fran
--
To unsubscribe, send mail to [email protected].