blob: 5b691aba817fe5caf4da041bebd94449416c1c44 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
#!/bin/sh
if [ -z "${1}" ]; then
ssh partofme killall vlc
echo '*/buffer close twitch.#' >~/.weechat/weechat_fifo
else
ssh partofme sh -c "'nohup twitch ${1} > /dev/null 2>&1 &'"
echo "irc.server.twitch */join #${1}" >~/.weechat/weechat_fifo
fi
|