This wiki will shut down!

Please note that this wiki will be made read-only and eventually be taken offline.

A replacement is being discussed at https://github.com/awesomeWM/awesome-www/issues/7. We'd be happy to have more input for that discussion and volunteers who help us migrate the content of this wiki to its replacement.

User:Psychon

From awesome
Jump to: navigation, search

My Little Code Dump:

Force same tag on all screens (untested)[edit]

Assuming you use something based on the default config (tags array is used here) and awesome 3.4 or newer. Somewhere after all the tags are created (awful.tag() being called), add this:

function force_tag(i, sel)
       for s, tag in pairs(tags) do
               tag[i].selected = sel
       end
end
 for s = 1, screen.count() do
    for idx, tag in pairs(tags[s]) do
        tag:add_signal("property::selected", function(t) force_tag(idx, t.selected) end)
    end
 end