trying to fix tridactyl

This commit is contained in:
Chris Cochrun 2023-11-21 09:45:46 -06:00
parent deed36a049
commit 89c60d608a
2 changed files with 3 additions and 1 deletions

View file

@ -62,7 +62,7 @@ command org-capture composite get_current_url | js -p tri.excmds.exclaim_quiet('
"" Unbind this key to rebind it later "" Unbind this key to rebind it later
unbind v unbind v
command mpv js -p tri.excmds.shellescape(JS_ARG).then(url => tri.excmds.exclaim_quiet('LIBVA_DRIVERS_PATH=/run/current-system/profile/lib/dri mpv ' + url)) command mpv js -p tri.excmds.shellescape(JS_ARG).then(url => tri.excmds.exclaim('mpv ' + url))
command torrent js -p tri.excmds.shellescape(JS_ARG).then(url => tri.excmds.exclaim_quiet('transadd ' + url)) command torrent js -p tri.excmds.shellescape(JS_ARG).then(url => tri.excmds.exclaim_quiet('transadd ' + url))

View file

@ -2,5 +2,7 @@
notify-send "Downloading  $1" notify-send "Downloading  $1"
title=$(yt-dlp --get-title $1) title=$(yt-dlp --get-title $1)
ext=&(yt-dlp --get-ext $1)
filename=$title.$ext
alacritty -e yt-dlp -o '/home/chris/vids/%(title)s.%(ext)s' $1 alacritty -e yt-dlp -o '/home/chris/vids/%(title)s.%(ext)s' $1
mpv "/home/chris/vids/$filename" & disown mpv "/home/chris/vids/$filename" & disown