From f6600a848b453ef161b8c60ef712e3670b57a1a0 Mon Sep 17 00:00:00 2001 From: tomit4 Date: Sat, 18 Jun 2022 19:14:31 -0700 Subject: [PATCH] added streamlinks as more feature rich video streamer API, and added aliases more as reminders --- aliases | 4 ++++ streamlink/config | 2 ++ updates.txt | 12 ++++-------- 3 files changed, 10 insertions(+), 8 deletions(-) create mode 100644 streamlink/config diff --git a/aliases b/aliases index 9c0ea759..f989b7f1 100644 --- a/aliases +++ b/aliases @@ -177,12 +177,16 @@ alias npm_upgrade="doas npm install --location=global npm@latest" alias npm_list="npm list -g --depth=0" alias pip_upgrade="python -m pip install --upgrade pip" alias nb="newsboat" +alias slink="streamlink" alias sudoku="sku" # pip list and pip freeze command list pip packages #Particularly useful commands more to remember than to use as alias: alias optimalbufsize= 'stat -c "%o"' # followed by filename will give you the optimal read/write BUFSIZE for a file alias {rcrm,rrm}="doas xargs -d\\n rm -r -v" # when piped after locate or find command, recursively removes outputted files +alias athena="athena-jot" +alias view-in-tty="fim" +alias cprogrammingtags="ctags" # get top process eating memory alias psmem="ps auxf | sort -nr -k 4 | head -5" diff --git a/streamlink/config b/streamlink/config new file mode 100644 index 00000000..6f4bd6be --- /dev/null +++ b/streamlink/config @@ -0,0 +1,2 @@ +player=mpv +twitch-disable-ads diff --git a/updates.txt b/updates.txt index ac878d66..1f8438e7 100644 --- a/updates.txt +++ b/updates.txt @@ -14,15 +14,11 @@ add notation about using pick to parse through output, and pipe that using xargs example: ls | pick | xargs bat # will give you a choice of the files from ls, pick displays a menu to "pick" the file, which then is parsed to xargs bat (invokes bat on choice from ls | pick) -Install fim (allows viewing of images in tty environment) -Also install ctags for better traversing in our C programs. +Install streamlinks +doas pacman -S streamlinks -paru fim +copy streamlinks config directory for streamlinks into ~/.config/ -doas pacman -S ctags - -Install athena-jot - -paru athena-jot (generates random data) +cp -r ~/Documents/notes/streamlinks ~/.config/