Hi, this functionnality is not supported in awesome. I have found, and heavily modified, a script called sharetags, which does what I think you want: a single set of tags, shared between all screens.
Note that it works (even with # monitors), but is basically a hack. If a
window is in several tags, and you move one of its tags to another screen,
it will disappear from the other tags. This is because X cannot display a
window on several screens at the same time. There may be other bugs.
You have to modify rc.lua :
require("sharetags")
-- tags = {}
-- for s = 1, screen.count() do
-- -- Each screen has its own tag table.
-- tags[s] = awful.tag(mytags.names, s, mytags.layouts)
-- end
tags = sharetags.create_tags({"tag1", "tag2", "tag3",
{awful.layout.suit.fair, awful.layout.suit.fair, awful.layout.suit.max})
-- }}}
[…]
mytaglist.buttons = awful.util.table.join(
awful.button({ }, 1, function(tag)
sharetags.viewonly(tag, mouse.screen)
end),
awful.button({ modkey }, 1, function(tag)
sharetags.movetotag(tag, mouse.screen)
end),
awful.button({ }, 3, function(tag)
sharetags.viewtoggle(client.focus, tag)
end),
awful.button({ modkey }, 3, function(tag)
sharetags.toggletag(client.focus, tag)
end),
awful.button({ }, 4, awful.tag.viewnext),
awful.button({ }, 5, awful.tag.viewprev)
)
[…]
mytasklist = {}
mytasklist.buttons = awful.util.table.join(
awful.button({ }, 1, function (c)
local screen = mouse.screen
if not c:isvisible() then
sharetags.viewonly(c:tags()[1], screen)
end
client.focus = c
c:raise()
end),
[…]
)
[…]
-- Create a taglist widget
-- mytaglist[s] = awful.widget.taglist(s,
awful.widget.taglist.label.noempty, mytaglist.buttons)
mytaglist[s] = sharetags.taglist(s, awful.widget.taglist.label.noempty,
mytaglist.buttons)
Hope this helps,
2013/12/30 Peter Baldridge <[email protected]>
> Hello,
>
> I've been using awesome for a while on single monitor systems. I just
> finished a 3 monitor system and for my work flow I would like the same
> windows to be on the same tags on each monitor.
>
> i.e., tag one would be www and would have chrome and firefox
> instances. switching to tag one on any of the three monitors would
> bring up the same chrome and firefox windows as any other tag one.
> This would allows me to group tasks together but perhaps change my
> primary focus to the center pane and push secondary work to the right
> or left while leaving it grouped and always tagged in the same place.
>
> (I'm not sure if this is a supported work flow, It's adapted from how
> I've been running tmux to keep a consistent state/clipboard in
> multi-monitors over multiple ssh sessions.)
>
> To this end, I would also like to be able to add/close/rename a tag as
> I work. Is there a way to set key binds for these functions?
>
> Any pointers, or documentation that might get me started would be
> appreciated.
>
> Thanks,
>
> --
> pete
>
> --
> To unsubscribe, send mail to [email protected].
>
--
Vivian Brégier
http://www.are-ata.org/Vivian.vcf
sharetags.lua
Description: Binary data
