Author

Topic: I want bells and whistles (Read 1002 times)

legendary
Activity: 1288
Merit: 1080
February 13, 2011, 08:03:27 PM
#3
Just make a bash script that checks your balance and whistles if it has increased.

Code:
#!/bin/bash

oldbalance=0
if ! balance=$(bitcoind getbalance)
then
    echo coudn't retreive the balance 2>&1
    exit 1
elif (($balance > $oldbalance))
then
   mpg123 someCoolSoundFile.mp3
   oldbalance=$balance
fi

And then in the bash command line (or in you .profile or whereever):

$ while thenameofthescriptabove; do sleep 60; done &
full member
Activity: 126
Merit: 100
February 13, 2011, 07:22:00 PM
#2
I want mine to first play a cash register noise at 100% volume, followed by a deep, low voice saying "Show Me the Money!", followed THEN by various pictures of playboy models. Fireworks shooting out from behind my monitor are optional.
full member
Activity: 143
Merit: 100
February 13, 2011, 07:14:21 PM
#1
I literally want a bell or whistle to go off when I found a block.  Or I want the Bitcoin program to play an mp3 of "I'm in the money".  Or maybe just a loud siren accompanied by the screen flashing.  Or maybe the computer can catch fire.
Jump to: