rules: allow defining exceptions to a rule - except, and except_any
commit448583e87cccfe0abd0266bf3f3a0af744cb5ca7
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:24 +0000 (29 09:26 +0200)
treeef97009506517db5e6b4058c516bda6d157f18fa
parent33e88ea8d4a0d01cf2766097d67099c7c4dc5c98
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