unexist.dev

Changeset 401:5818c31e0467

Updated config
author unexist
date Tue, 08 Nov 2011 13:38:51 +0100
parents 8d34526ad8f4
children c04bbb26287b
files .config/subtle/subtle.rb
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/.config/subtle/subtle.rb	Tue Nov 08 13:08:54 2011 +0100
+++ b/.config/subtle/subtle.rb	Tue Nov 08 13:38:51 2011 +0100
@@ -250,10 +250,10 @@
 
 # Scratchpad
 grab "W-y" do
-  if((c = Subtlext::Client["scratch"]))
+  if (c = Subtlext::Client.first("scratch"))
     c.toggle_stick
     c.focus
-  elsif((c = Subtlext::Subtle.spawn("urxvt -name scratch")))
+  elsif (c = Subtlext::Subtle.spawn("urxvt -name scratch"))
     c.tags  = []
     c.flags = [ :stick ]
   end