X-Git-Url: https://git.shemshak.org/gitweb.cgi/~bandali/configs/blobdiff_plain/ca3a844af240ca87882522d14b530e0f1a6327ef..bed4a98af2931651d5fe73492b39b6edc615cf4c:/.config/tridactyl/tridactylrc diff --git a/.config/tridactyl/tridactylrc b/.config/tridactyl/tridactylrc index a4120e3..887e250 100644 --- a/.config/tridactyl/tridactylrc +++ b/.config/tridactyl/tridactylrc @@ -23,6 +23,13 @@ bind O fillcmdline bmarks bind ; fillcmdline_notrail +bind ;v hint -; video + +command mpvmp4 js -p tri.excmds.shellescape(JS_ARG).then(url => tri.excmds.exclaim_quiet('mpv --no-terminal --ytdl-format=mp4 ' + url)) +bind ;gv hint -W mpvmp4 + +bind ;gV js tri.excmds.exclaim_quiet('mpv --no-terminal --ytdl-format=mp4 ' + document.location.href) + unbind set hintfiltermode vimperator-reflow @@ -35,3 +42,5 @@ set browser abrowser seturl warrior.uwaterloo.ca noiframe true " autocmd DocStart www.reddit.com js tri.excmds.urlmodify("-t", "www", "old") + +colourscheme bandali