watch twitch puntual stream
This commit is contained in:
parent
3b15558c5a
commit
c1d51ba8fc
|
@ -0,0 +1,12 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
streamer="$(rofi -dmenu)"
|
||||
|
||||
if [ -n "$streamer" ]; then
|
||||
if [ "$(youtube-dl -e "https://www.twitch.tv/$streamer" 2>/dev/null)" ]; then
|
||||
notify-send "$streamer found"
|
||||
mpv "https://www.twitch.tv/$streamer"
|
||||
else
|
||||
notify-send "$streamer NOT FOUND or NOT STREAMING"
|
||||
fi
|
||||
fi
|
Loading…
Reference in New Issue