diff options
author | lonkaars <l.leblansch@gmail.com> | 2020-10-15 21:57:10 +0200 |
---|---|---|
committer | lonkaars <l.leblansch@gmail.com> | 2020-10-15 21:57:10 +0200 |
commit | 17ebd42638e4f703e2953954ff455263b6b57cc4 (patch) | |
tree | 9b9856688d22cce1b4e6107b5fb0d5a1cdaf15ce /.local/share/bin/ttv | |
parent | 924b6bc3826edd5686a6544e2ad4ef9c1319a6c8 (diff) |
added scripts
Diffstat (limited to '.local/share/bin/ttv')
-rwxr-xr-x | .local/share/bin/ttv | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/.local/share/bin/ttv b/.local/share/bin/ttv new file mode 100755 index 0000000..4db2cd5 --- /dev/null +++ b/.local/share/bin/ttv @@ -0,0 +1,8 @@ +#!/bin/sh +streamlink twitch.tv/$1 best -p "mpv --fs=no --geometry=75%" & disown +brave --user-data-dir=/tmp --app="https://twitch.tv/$1/chat?popout=" & disown + +sleep 5 +PPPID=$(awk '{print $4}' "/proc/$PPID/stat") +kill $PPPID + |