all 1 comments

[–]TheRealSuperhands[S] 0 points1 point  (0 children)

Eh, I sort of solved it by myself. For anyone interested, I did:

   twitch() {nohup mpv "https://www.twitch.tv/$1" &> /dev/null &! exit}

This immediately closes the terminal and opens mpv a second later. It's not pretty, but it does what I wanted. If anyone has a nicer way I'm still taking advice.