.dotfiles/.scripts/cc.sh

26 lines
584 B
Bash
Raw Normal View History

2024-12-28 00:47:11 -05:00
TIMIDITY_PID=$(mktemp)
CCHATPROXY_PID=$(mktemp)
PORT=6667
SSL_PORT=6697
SERVER=irc.koshka.love
# for fluidsynth...
# fluidsynth -lsi '/path/to/soundfont.sf2' &
# echo $! > "$MIDI_PID"
# or else for timidity...
# timidity -iA -B2,8 -Os1l -s 44100 -c 'path/to/timidity.cfg' &
# echo $! > "$MIDI_PID"
python2 ~/.scripts/ccproxy.py -p "$PORT" "$SERVER" "+$SSL_PORT" &
echo $! > "$CCHATPROXY_PID"
2024-09-27 16:18:31 -04:00
WINEPREFIX=~/.wine32 wine '/home/gor/.wine32/drive_c/Program Files/Microsoft Chat/CChat_MP3.exe'
2024-12-28 00:47:11 -05:00
kill "$(cat "$MIDI_PID")" "$(cat "$CCHATPROXY_PID")"
rm "$MIDI_PID" "$CCHATPROXY_PID"