myhome/.local/bin/stream
Marcin Woźniak 0456d713b6
Updated
Signed-off-by: Marcin Woźniak <y0rune@aol.com>
2020-10-14 00:35:04 +02:00

6 lines
230 B
Bash
Executable File

#!/bin/bash
KERNEL=$(uname -sr)
[[ $KERNEL =~ "icrosoft" ]] && nohup streamlink -p "https://www.twitch.tv/riotgames best" $1 best > /dev/null 2>&1 &
[[ $KERNEL =~ "gentoo" ]] && nohup streamlink -p mpv $1 best > /dev/null 2>&1 &