my-speak (261B)
1 #!/bin/sh 2 3 myspeakdir="$HOME/.my-speak/" 4 lockfilepath="$myspeakdir/lock" 5 pidfilepath="$myspeakdir/pid" 6 speakngpath="$(which speak-ng)" 7 8 mkdir -p "$myspeakdir" 9 10 ourLine="$(xsel | unlines)" 11 daemonize -l "$lockfilepath" -p "$pidfilepath" "$speakngpath" "$ourLine"