Emilie Roberts
2006-Apr-07 22:36 UTC
[compiz] Patch for water plugin to make time between rain-drops adjustable
Hello, I love the work that is being done with compiz! I have made a patch for water.c that makes the time between rain-drops adjustable using gconf. This way you can leave the plug-in running and just have pleasant drops every now and then instead of the rainstorm that is hard-coded in now (which is still fun now and then!). The gconf value is in ms (1/1000 of a second). Suggestions for raindrop times: 10000 (every 10 seconds), 60000 (every minute), 300000 (every 5 minutes). Default is now 1000 (every second) instead of 250 (4/second) like before. I also made a modification to the compiz-0.0.7_p20060404.ebuild for gentoo users using the xgl-coffee branch (get the tarball here: http://www.cutedancer.com/dist/compiz-raindelay.tar.gz ). Just unzip to your /usr/local/xgl-coffee directory and emerge compiz. Enjoy! Emilie -------------- next part -------------- A non-text attachment was scrubbed... Name: compiz-raindelay.patch Type: text/x-patch Size: 2321 bytes Desc: not available Url : http://lists.freedesktop.org/archives/compiz/attachments/20060408/f6a409e9/compiz-raindelay.bin
David Reveman
2006-Apr-09 03:52 UTC
[compiz] Patch for water plugin to make time between rain-drops adjustable
On Sat, 2006-04-08 at 00:40 -0400, Emilie Roberts wrote:> Hello, > > I love the work that is being done with compiz! I have made a patch for > water.c that makes the time between rain-drops adjustable using gconf. > This way you can leave the plug-in running and just have pleasant drops > every now and then instead of the rainstorm that is hard-coded in now > (which is still fun now and then!). > > The gconf value is in ms (1/1000 of a second). Suggestions for raindrop > times: 10000 (every 10 seconds), 60000 (every minute), 300000 (every 5 > minutes). Default is now 1000 (every second) instead of 250 (4/second) > like before. > > I also made a modification to the compiz-0.0.7_p20060404.ebuild for > gentoo users using the xgl-coffee branch (get the tarball here: > http://www.cutedancer.com/dist/compiz-raindelay.tar.gz ). Just > unzip to your /usr/local/xgl-coffee directory and emerge compiz. > > Enjoy! > EmilieI fixed so that it's possible to change the rain delay while it's raining and put it in CVS. Thanks, -David