<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -16,8 +16,12 @@ yellowline_percentage = 80
 
 yellowline_enable = true
 
+
+enable_cpu_tears = true
+cpu_tears_x = 1920
+cpu_tears_y = 1080
+
 tooltip_setting = &quot;I turn red when some program is using more than #{redline_percentage}% of any cpu or aggregate of cpus.&quot;
-puts tooltip_setting
 
 #get_cpu_info = &quot;ps -e -o pcpu,cpu,nice,state,cputime,args --sort pcpu | sed '/^ 0.0 /d'&quot;
 get_cpu_info = &quot;nice top -b -n 1&quot;
@@ -48,6 +52,16 @@ end
 if bad_programs != &quot;&quot;
  $icon.icon_name = 'gdu-smart-failing'
  $icon.tooltip = bad_programs
+
+if enable_cpu_tears == true
+3.times do
+ rand1 = rand(cpu_tears_x)
+ rand2 = rand(cpu_tears_y)
+ `dbus-send --type=method_call --dest=org.freedesktop.compiz /org/freedesktop/compiz/water/allscreens/point org.freedesktop.compiz.activate string:'root' int32:\`xwininfo -root | grep id: | awk '{ print $4 }'\` string:'amplitude' double:1 string:'x' int32:#{rand1} string:'y' int32:#{rand2}`
+ sleep 0.2
+end
+end
+
 else
  if yellowline_enable &amp;&amp; mean_programs != &quot;&quot;
   $icon.icon_name = 'gdu-smart-threshold'</diff>
      <filename>redline.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>074c3759b2f20709a87b323374052d020aa96fd1</id>
    </parent>
  </parents>
  <author>
    <name>oneman</name>
    <email>oneman@blacktower.(none)</email>
  </author>
  <url>http://github.com/oneman/redline/commit/9ad01c5d6555545976d1320248eee278d2fdd88f</url>
  <id>9ad01c5d6555545976d1320248eee278d2fdd88f</id>
  <committed-date>2009-11-03T01:13:19-08:00</committed-date>
  <authored-date>2009-11-03T01:13:19-08:00</authored-date>
  <message>cpu crying</message>
  <tree>cfa7c87bb8cbaa8252ba3fc565bbb145f01e7863</tree>
  <committer>
    <name>oneman</name>
    <email>oneman@blacktower.(none)</email>
  </committer>
</commit>
