rules: allow defining exceptions to a rule - except, and except_any
commit55f5ba6911ff6fd7fee200fb719c701c02f71870
authorAnurag Priyam <anurag08priyam@gmail.com>
Sun, 27 Mar 2011 15:22:50 +0000 (27 20:52 +0530)
committerUli Schlachter <psychon@znc.in>
Tue, 29 Mar 2011 07:26:18 +0000 (29 09:26 +0200)
tree7e576ed7e6754b147530cb3a7f818f3fc59106ab
parent44b854977039eac770127dde7c591f779ebf1610
rules: allow defining exceptions to a rule - except, and except_any

So you want to make all Firefox windows floating except the main window
(instance = Navigator). You can either list all possible windows in
rules and make them floating, or make all of them floating except one:

{ rule = { class = "Firefox" },
  except = { instance = "Navigator" },
  properties = {floating = true},
}

More examples in the docs.

Signed-off-by: Anurag Priyam <anurag08priyam@gmail.com>
Signed-off-by: Uli Schlachter <psychon@znc.in>
lib/awful/rules.lua.in