Shared tags

For me it is much easier to have one set of tags for all of my screens than to have a copy of my tag-set for each of them. So I know for example that my browser is always on tag "www" and don't have to care if it's on my first, second or nth screen.

This does not mean that it is possible to view one tag on two screens at the same time (this is caused by the x-server not by awesome).

For this reason I've created a module called sharedtags on github. You can find it here. It is used this way: ...   require("sharetags") ...   -- for s = 1, screen.count do    --     -- Each screen has its own tag table. --    tags[s] = awful.tag(tags.names, s, tags.layout) -- end tags = sharetags.create_tags(tags.names, tags.layout) ...   for s = 1, screen.count do        ... -- Create a taglist widget --mytaglist[s] = awful.widget.taglist(s, awful.widget.taglist.label.all, mytaglist.buttons) mytaglist[s] = sharetags.taglist(s, awful.widget.taglist.label.all, mytaglist.buttons) ...   end ...

A working configuration can be found in my rc.lua.