[release] NIN-await and countdown script

ninwatch.jpg

hey!

I must admit I'm a mediocre Nine Inch Nails fan, but my GF is a huuge one.

So she told me about the proposed release date, showed me a simple web site that

sports a count down and told me something in the lines of:

"If you are coding gimmicks all day (she meant widgets/desklets/docklets), can't you

do that for me too?"

So, the NINawait config was born, my first SysStats config created from scratch.

Of course, its heavily scripted but lightweight.

And its reusable:

Specify in the text overlay's selector:

date|beforetext|aftertext

date:

this is the date you are awaiting. For it to be consistent in different locales,

specify it as such:

2005-12-31 23:59:59

this will await silvester, for example.

beforetext

Some wildcards are replaced, e.g.

Still $d days,$n$h:$m:$s.$t$n to go.

this will expand to:

Still 98 days,

04:16:55.766

to go.

aftertext

This text will be displayed if the awaited event has come.

Putting it all together, the selector would look like:

2005-12-31 23:59:59|Still $d days,$n$h:$m:$s.$t$n to go.|Release Party!

However, there are 2 minor bugs in SysStats need to get fixed before you can get the full joy out of the script:

  1. The selector entry space is limited, so I needed to trim the selector to:
    2005-5-3|still$n$d days,$n$h:$m$n to go|NINtime
    You can workaround this by editing the larger selector into the script and ignore the chosen selector altogether.
  2. You can't trigger a script more than once a second, so seconds and milliseconds display makes no sense at all.

Enjoy!

nin.zip

#248717

ah yes! thanks a lot Herd, this is my most awaited album of this year, and the config is working great!

#248748

many thanks man , I'll use it to see when Slipknot is coming to town , he he , bye

#248758

i do consider my self a huuge nin fan, and i thank u for this.

#248765

Hehe, i used this to countdown to when im out of school. lmao

#277683