<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -7,7 +7,6 @@ require(&quot;awful&quot;)
 require(&quot;awful.autofocus&quot;)
 require(&quot;awful.rules&quot;)
 require(&quot;beautiful&quot;)
-require(&quot;wicked&quot;)
 require(&quot;naughty&quot;)
 -- custom modules
 require(&quot;shifty&quot;)
@@ -144,8 +143,8 @@ shifty.config.apps = {
     tag     = &quot;gimp&quot;,                                     
     slave   = true, dockable = true                         },
     
-  { match   = { &quot;MPlayer&quot;, &quot;Gnuplot&quot;, &quot;galculator&quot; }, 
-    float   = true                                          },
+  { match   = { &quot;MPlayer&quot;, &quot;Gnuplot&quot;, &quot;galculator&quot;,&quot;R Graphics&quot; }, 
+    float   = true, honorsizehints = true                        },
 
   { match   = { &quot;urxvt&quot;,&quot;vim&quot;,&quot;mutt&quot; },
     honorsizehints = false, 
@@ -160,13 +159,16 @@ shifty.config.apps = {
 }
 --}}}
 
-shifty.config.defaults={ layout  = awful.layout.suit.tile.bottom, ncol = 1, floatBars=true }
+shifty.config.defaults={ layout  = awful.layout.suit.tile.bottom, ncol = 1, floatBars=true, 
     run     = function(tag)
                 naughty.notify({ text = markup.fg(beautiful.fg_normal, markup.font(&quot;monospace&quot;,
                     markup.fg( beautiful.fg_sb_hi, &quot;Shifty Created: &quot;..
                         (awful.tag.getproperty(tag,&quot;position&quot;) or shifty.tag2index(mouse.screen,tag))..&quot; : &quot;..
                         (tag.name or &quot;foo&quot;))))
             }) end, 
+}
+
+shifty.config.sloppy = true
 
 -- }}}
 
@@ -179,8 +181,11 @@ function tagSearch(name)
   for s = 1, screen.count() do
     t = shifty.name2tag(name,s)
     if t ~= nil then
+        if t.screen ~= mouse.screen then
+            awful.screen.focus(t.screen)
+        end
       awful.tag.viewonly(t)
-      awful.screen.focus(awful.util.cycle(screen.count(),s+mouse.screen))
+      -- awful.screen.focus(awful.util.cycle(screen.count(),s+mouse.screen))
       return true
     end
   end
@@ -364,6 +369,7 @@ mypromptbox = {}
 mylayoutbox = {}
 
 for s = 1, screen.count() do
+
     mypromptbox[s] = awful.widget.prompt({ layout = awful.widget.layout.horizontal.leftright })
 
     mylayoutbox[s] = awful.widget.layoutbox(s)
@@ -436,7 +442,7 @@ globalkeys = awful.util.table.join(
     awful.key({ settings.modkey            }, &quot;n&quot;,       shifty.send_next),          -- move client to next tag
     awful.key({ settings.modkey, &quot;Control&quot; }, &quot;n&quot;,       function ()                 -- move a tag to next screen
         local ts = awful.tag.selected()
-        awful.tag.history.restore(ts.screen)
+        awful.tag.history.restore(ts.screen,1)
         shifty.set(ts,{ screen = awful.util.cycle(screen.count(), ts.screen +1)})
         awful.tag.viewonly(ts)
         mouse.screen = ts.screen
@@ -569,30 +575,47 @@ shifty.taglist = mytaglist
 shifty.init()
 
 -- {{{ Hooks
---[[ Hook function to execute when focusing a client.
-awful.hooks.focus.register(function (c)
-  if not awful.client.ismarked(c) then
+-- Hook function to execute when focusing a client.
+--[[ client.add_signal(&quot;manage&quot;, function(c)
+
+    print(&quot;print in manage &quot;)
+    if c.name ~= nil then
+        print(c.name)
+    else
+        print(&quot;c.name is nil&quot;)
+        for k,v in pairs(c) do
+            print(&quot;k=&quot;..k..&quot;\tv=&quot;..v)
+        end
+    end
+    if c.name ~= nil and string.find(c.name, &quot;R Graphics&quot;) then
+        print(&quot;r graph found&quot;)
+        awful.client.floating.set(c,true)
+        awful.titlebar.add(c, { modkey = modkey })
+    end
+end) ]]--
+
+client.add_signal(&quot;focus&quot;, function (c)
+
     c.border_color = beautiful.border_focus
-  end
-  if settings.opacity[c.class] then 
-    c.opacity = settings.opacity[c.class].focus
-  else
-    c.opacity = settings.opacity[&quot;default&quot;].focus or 0.7
-  end
+
+    if settings.opacity[c.class] then 
+       c.opacity = settings.opacity[c.class].focus
+    else
+        c.opacity = settings.opacity[&quot;default&quot;].focus or 0.7
+    end
 end) --]]--
 
---[[ Hook function to execute when unfocusing a client.
-awful.hooks.unfocus.register(function (c)
-  if not awful.client.ismarked(c) then
+-- Hook function to execute when unfocusing a client.
+client.add_signal(&quot;unfocus&quot;, function (c)
+
     c.border_color = beautiful.border_normal
-  end
-  if settings.opacity[c.class] then 
-    c.opacity = settings.opacity[c.class].unfocus
-  else
-    c.opacity = settings.opacity[&quot;default&quot;].unfocus or 0.7
-  end
+
+    if settings.opacity[c.class] then 
+        c.opacity = settings.opacity[c.class].unfocus
+    else
+        c.opacity = settings.opacity[&quot;default&quot;].unfocus or 0.7
+    end
 end) --]]--
+-- }}}
 
-client.add_signal(&quot;focus&quot;, function(c) c.border_color = beautiful.border_focus end)
-client.add_signal(&quot;unfocus&quot;, function(c) c.border_color = beautiful.border_normal end)
 -- vim:set filetype=lua textwidth=120 fdm=marker tabstop=4 shiftwidth=4 expandtab smarttab autoindent smartindent: --</diff>
      <filename>rc.lua</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>1b28d8de0d290e82d154800016d40d4ac5189e01</id>
    </parent>
  </parents>
  <author>
    <name>perry</name>
    <email>perry.hargrave@gmail.com</email>
  </author>
  <url>http://github.com/bioe007/awesome-configs/commit/4c950ca32ff0214cfcaae888afd7f795a85f76a5</url>
  <id>4c950ca32ff0214cfcaae888afd7f795a85f76a5</id>
  <committed-date>2009-09-28T12:19:06-07:00</committed-date>
  <authored-date>2009-09-28T12:19:06-07:00</authored-date>
  <message>various 3.4rc1 fixes</message>
  <tree>54c0d32fb484767f5c3e9c73122b52341520d5ad</tree>
  <committer>
    <name>perry</name>
    <email>perry.hargrave@gmail.com</email>
  </committer>
</commit>
