From f0d165457b881f1ed219d3d0c53ca3afc45e2be2 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Mon, 8 Jun 2020 23:42:48 -0400 Subject: add script to start a twitch stream --- bin/hush/twitch | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 bin/hush/twitch diff --git a/bin/hush/twitch b/bin/hush/twitch new file mode 100755 index 0000000..79473f2 --- /dev/null +++ b/bin/hush/twitch @@ -0,0 +1,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 -- cgit v1.2.3-54-g00ecf