#!/bin/bash KERNEL=$(uname -sr) [[ $KERNEL =~ "Microsoft" ]] && nohup streamlink -p "/mnt/c/Program\ Files/VideoLAN/VLC/vlc.exe" $1 best > /dev/null 2>&1 & [[ $KERNEL =~ "gentoo" ]] && nohup streamlink -p mpv $1 best > /dev/null 2>&1 &