.
This commit is contained in:
parent
2a9167cb7e
commit
96573664a6
95 changed files with 4130 additions and 2328 deletions
|
|
@ -12,6 +12,7 @@ I'm declining cookies.
|
|||
I'm getting spammed with notifications to claim a sick new overwatch skin.
|
||||
There's a little channel point button twerking for me to click it.
|
||||
You get the idea; it's a heavy noisy experience.
|
||||
<!--more-->
|
||||
|
||||
As a result I set out to devise a solution which does spark joy.
|
||||
I came up with a script which leans on DIY desktop staples (dunst, tofi, mpv) and the very nice cli utility [streamlink](https://github.com/streamlink/streamlink).
|
||||
|
|
@ -71,7 +72,7 @@ if [[ -n "$choice" ]]; then
|
|||
# get first column from selection aka stream name
|
||||
meat=$(echo "$choice" | awk '{print $1}')
|
||||
"${NOTIFY}" "twitch -- launching twitch.tv/$meat"
|
||||
streamlink twitch.tv/"$meat" 1080p60 --player $"{PLAYER}"
|
||||
streamlink twitch.tv/"$meat" 1080p60 --player "${PLAYER}"
|
||||
fi
|
||||
|
||||
```
|
||||
|
|
@ -104,3 +105,5 @@ fi
|
|||
- no chat (you might want to spam LUL)
|
||||
- takes a second to talk to the internet so things don't launch immediately
|
||||
- have to faff with getting api key - [how to get one btw](https://dev.twitch.tv/docs/api/get-started/)
|
||||
|
||||
Hope you enjoyed bye
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue