#!/bin/ksh #you need xdotool, xclip, mpv, yt-dlp, #links2 (compiled with GUI) # #search for videos, stream, download, #rip audio # #when running the script inside links2, #links must be focused! you can run it #through dmenu, or bind it to a key combo #choose your favorite from invidious.io invidious_instance="https://iv.melmac.space" browser="links -g" options() { cat <