Bitcoin Forum
June 25, 2024, 12:27:09 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: I want bells and whistles  (Read 997 times)
ronaldmaustin (OP)
Full Member
***
Offline Offline

Activity: 143
Merit: 100


View Profile
February 14, 2011, 12:14:21 AM
 #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.
dingus
Full Member
***
Offline Offline

Activity: 126
Merit: 100



View Profile
February 14, 2011, 12:22:00 AM
 #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.

ding·us/ˈdiNGgəs/
Noun: Used to refer to something whose name the speaker cannot remember, is unsure of, or is humorously or euphemistically omitting
grondilu
Legendary
*
Offline Offline

Activity: 1288
Merit: 1076


View Profile
February 14, 2011, 01:03:27 AM
 #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 &

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!