Search code examples
awesome-wm

Application autostart under certain tag in awesome-wm


I have read Setting windows layout for a specific application in awesome-wm.Now I want to do this under certain tag during autostart. For example:

I turn on my pc.Apps like "firefox","terminal" will automatically run under tag 1." "mplayer" will run under tag 2. "xchat" will run under tag 3. They all autostart.

I don't want "firefox" always under tag 1. I could run firefox under any tags I want.I just need it run under tag 1 when computer is first turned on.So code below couldn't be used.

awful.rules.rules = {
-- All clients will match this rule.
{ rule = { class = "Firefox" },
 properties = { tag = tags[1][2]}}, --,switchtotag=true} },
 ...

Solution

  • Check out shifty- there you can specify the tab for the application, but you can still move it to a different tab.