Leslie Lamport is also the original creator of LaTeX.
function(x) return x; end { rule = {
instance = "firefox"
},
properties = {
screen = "HDMI1",
tag = "3"
}
}
Which will configure awesome so that any time a new client becomes managed by the wm, it will ensure that its window opens on the XRandR screen "HDMI1", and specifically on that screen's tag "3". ("3" is a string here because, while tags are by default "integers", "1" - "9", they can be named by any string afaik, and many people will rename them things like "www", "irc", "term", etc.). $ awesome-client <<EOF
require("awful").spawn("firefox", {
screen = mouse.screen,
tag = "3",
switchtotag = true
})
EOF
The same awful.spawn() call you'd send to awesome-client can also be bound to a keystroke or a menu entry for quick access.