Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

1 Answer

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
add comment

Your Answer

 
discard

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.