tags: add back specific position

It seems that position guessing only works for initialized tags.
This commit is contained in:
Vincent Bernat 2012-09-09 01:14:32 +02:00
parent 45951e9dc1
commit 7b8cd43daf

View file

@ -12,14 +12,17 @@ end
shifty.config.tags = { shifty.config.tags = {
["3↭www"] = { ["3↭www"] = {
position = 3,
mwfact = 0.7, mwfact = 0.7,
exclusive = true, exclusive = true,
max_clients = 1, max_clients = 1,
position = 3,
screen = math.max(screen.count(), 2), screen = math.max(screen.count(), 2),
spawn = browser, spawn = browser,
icon = tagicon("web") icon = tagicon("web")
}, },
["2↭emacs"] = { ["2↭emacs"] = {
position = 2,
mwfact = 0.6, mwfact = 0.6,
exclusive = true, exclusive = true,
screen = 1, screen = 1,
@ -27,6 +30,7 @@ shifty.config.tags = {
icon = tagicon("dev"), icon = tagicon("dev"),
}, },
["1↭xterm"] = { ["1↭xterm"] = {
position = 1,
layout = awful.layout.suit.fair, layout = awful.layout.suit.fair,
exclusive = true, exclusive = true,
slave = true, slave = true,
@ -34,6 +38,7 @@ shifty.config.tags = {
icon = tagicon("main"), icon = tagicon("main"),
}, },
["4↭im"] = { ["4↭im"] = {
position = 4,
mwfact = 0.2, mwfact = 0.2,
exclusive = true, exclusive = true,
icon = tagicon("im"), icon = tagicon("im"),