[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

speak to me script



Hi folks,
here is script that I hobbled together:
-------------------------------------------------
echo | xclip -in; #clear out snark'ed buffer
while date > /dev/null; do
        TXT=$(xclip -out)
        if [ "$TXT" != "" ]; then
                xclip -out | festival --tts; #speak snark'ed buffer
                echo | xclip -in; #clear out snark'ed buffer
        fi
done
-------------------------------------------------
I read in a recent post about xclip and got an idea of a daemon to speak what
ever was 'snarked'. 
you will need xclip and festival installed. and then run this on an extra term.
Cheers,
kev
-- 
counter.li.org #238656 -- goto counter.li.org and be counted!
        _,           _,      ,'`.
      `$$'         `$$'     `.  ,'
       $$           $$        `'
       $$           $$         _,           _
 ,d$$$g$$  ,d$$$b.  $$,d$$$b.`$$' g$$$$$b.`$$,d$$b.
,$P'  `$$ ,$P' `Y$. $$$'  `$$ $$  "'   `$$ $$$' `$$
$$'    $$ $$'   `$$ $$'    $$ $$  ,ggggg$$ $$'   $$
$$     $$ $$ggggg$$ $$     $$ $$ ,$P"   $$ $$    $$
$$    ,$$ $$.       $$    ,$P $$ $$'   ,$$ $$    $$
`$g. ,$$$ `$$._ _., $$ _,g$P' $$ `$b. ,$$$ $$    $$
 `Y$$P'$$. `Y$$$$P',$$$$P"'  ,$$. `Y$$P'$$.$$.  ,$$.

Attachment: signature.asc
Description: Digital signature


Reply to: