commit 96edcfec69ae0189e9960f4f152f8222cbc45f3d parent 44e4188c9d47747b6001f2b19aee33d29efdb495 Author: Suraj N. Kurapati <sunaku@gmail.com> Date: Sat, 7 Feb 2009 13:59:00 -0800 determine client by Client#props rather than Client#label Diffstat:
config.rb | | | 6 | +++--- |
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/config.rb b/config.rb @@ -148,10 +148,10 @@ EOF event :CreateClient do |id| c = Client.new(id) - case c.label.read - when "Gran Paradiso - Restore Previous Session" + case c.props.read + when /Gran Paradiso - Restore Previous Session/ c.tags = 'web' - when /Firefox|Gran Paradiso|jEdit/i + when /:(Firefox|Gran Paradiso|jEdit|Epiphany)/i c.tags = curr_tag c.focus end