Dan's Brain

Open Twitch Streams w/ rofi

    #!/bin/bash

    chosen=$(echo -e “twitchchannelnamehere” | rofi -dmenu -i)

    if [[ $chosen = “twitchchannelnamehere” ]]; then

    firefox -new-window https://www.twitch.tv/popout/twitchchannelnamehere/chat?popout= ; streamlink –player mpv twitch.tv/twitchchannelnamehere best

    elif ##just used as an example to show how to add more channels



    fi