initial commit. implemented typing simulation

This commit is contained in:
Kjistóf 2017-10-08 02:55:26 +02:00
commit f0153c9627
1 changed files with 7 additions and 0 deletions

7
demo.sh Normal file
View File

@ -0,0 +1,7 @@
#!/usr/bin/env bash
TYPE_SPEED="${TYPE_SPEED:-15}"
PROMPT_TIMEOUT="${PROMPT_TIMEOUT:-0}"
function simtyping()
{ pv -qL $(($TYPE_SPEED+$((-2 + RANDOM%5)))); }