Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I use version 3.3.4 of awesome and it is fine. But I miss one thing I could do with an older version of awesome (without configuration via Lua): I could add a matcher with the regular expression .* to add all windows without another tag to a specific tag:

rule { name = ".*" tags = "9" }

With that all applications I didn't made another rule for were added to tag 9. How can I do something similar with configuration in rc.lua?

share|improve this question
up vote 2 down vote accepted

I found following solution, that works so far:

awful.rules.rules = {

-- All clients will match this rule.
{ rule = { },
  properties = { border_width = beautiful.border_width,
                 border_color = beautiful.border_normal,
                 focus = true,
                 keys = clientkeys,
                 buttons = clientbuttons,
                 tag = tags[1][9]         } },

This is placed before the other rules, matching specific applications.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.