Twitchy game script

This commit is contained in:
2020-03-17 04:40:27 -04:00
parent 527b573d29
commit e1dc984707
14 changed files with 107 additions and 66 deletions

View File

@@ -0,0 +1,8 @@
#!/usr/bin/fish
set TEMP_CSV /tmp/twitchy-fortnite.csv
set HEADER "Game,Channel,Viewers,Uptime,Title"
echo $HEADER > $TEMP_CSV
twitchy --non-interactive >> $TEMP_CSV
xsv search -is1 $argv[1] $TEMP_CSV | xsv sort -NRs3 | xsv table