Skip to content

Commit

Permalink
Setting up tags and matching properly
Browse files Browse the repository at this point in the history
  • Loading branch information
phinze committed Jan 11, 2010
1 parent 84597ab commit 4bd6444
Showing 1 changed file with 14 additions and 11 deletions.
25 changes: 14 additions & 11 deletions rc.lua
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -119,20 +119,23 @@ shifty.config.defaults = {
nopopup = true nopopup = true
} }
shifty.config.tags = { shifty.config.tags = {
["term"] = { position = 1, init = true }, ["1:term"] = { position = 1, init = true },
["www"] = { position = 2, exclusive = false, nopopup = true }, ["2:www"] = { position = 2, exclusive = false, nopopup = true },
["code"] = { persist = true, position = 3, }, ["3:code"] = { persist = true, position = 3, },
["comm"] = { position = 4 }, ["4:comm"] = { position = 4 },
["5:music"] = { position = 5 },
["6:mail"] = { position = 6 },
["7:irc"] = { position = 6 },
} }


shifty.config.apps = { shifty.config.apps = {
{ match = {"chat" }, tag = {"comm", "www"}, }, { match = {"urxvt" }, tag = "1:term", },
{ match = {"mail" }, tag = {"comm", "www"}, }, { match = {"Shiretoko.*", ".* - Vimperator" }, tag = "2:www" },
{ match = {"pandora" }, tag = "music", }, { match = {"chat" }, tag = {"7:irc", "4:comm", "2:www"}, },
{ match = {"work", "tests" }, tag = "code", }, { match = {"mail" }, tag = {"6:mail", "4:comm", "2:www"}, },
{ match = {"Shiretoko.*", ".* - Vimperator" }, tag = "www" }, { match = {"pandora" }, tag = "5:music", },
{ match = {"urxvt" }, tag = "term", }, { match = {"term:.*" }, tag = "1:term", },
{ match = {"term:.*" }, tag = "term", }, { match = {"work", "tests", "testing" }, tag = "3:code", },
{ match = { "" }, honorsizehints = true, { match = { "" }, honorsizehints = true,
buttons = { buttons = {
awful.button({ }, 1, function (c) client.focus = c; c:raise() end), awful.button({ }, 1, function (c) client.focus = c; c:raise() end),
Expand Down

0 comments on commit 4bd6444

Please sign in to comment.