Add space to dynamic group names
This commit is contained in:
parent
3440624c99
commit
41968ee029
1 changed files with 3 additions and 3 deletions
|
@ -132,10 +132,10 @@ end
|
|||
-- {{{ Tags
|
||||
-- Define a tag table which hold all screen tags.
|
||||
tags = {}
|
||||
tags[1] = awful.tag({"Emacs"}, 1, awful.layout.suit.tile)
|
||||
tags[1] = awful.tag({" Emacs"}, 1, awful.layout.suit.tile)
|
||||
|
||||
if screen.count() > 1 then
|
||||
tags[2] = awful.tag({"Web"}, 2, awful.layout.suit.max)
|
||||
tags[2] = awful.tag({" Web"}, 2, awful.layout.suit.max)
|
||||
|
||||
if screen.count() > 2 then
|
||||
for s = 3, screen.count() do
|
||||
|
@ -522,7 +522,7 @@ client.connect_signal("manage", function (c, startup)
|
|||
|
||||
if awful.rules.match_any(c, { class = imp_classes }) then
|
||||
tags[c.class] = tags[c.class] or
|
||||
awful.tag.add(c.class, {layout = awful.layout.suit.tile})
|
||||
awful.tag.add(" " .. c.class, {layout = awful.layout.suit.tile})
|
||||
awful.tag.viewonly(tags[c.class])
|
||||
awful.client.movetotag(tags[c.class], c)
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue