From 89c60d608ad06e28f239dfe1f2ad2865acec2ef2 Mon Sep 17 00:00:00 2001 From: Chris Cochrun Date: Tue, 21 Nov 2023 09:45:46 -0600 Subject: [PATCH] trying to fix tridactyl --- .config/tridactyl/tridactylrc | 2 +- scripts/dlvideompv | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.config/tridactyl/tridactylrc b/.config/tridactyl/tridactylrc index 35e770c..410132a 100644 --- a/.config/tridactyl/tridactylrc +++ b/.config/tridactyl/tridactylrc @@ -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 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)) diff --git a/scripts/dlvideompv b/scripts/dlvideompv index 3db0c96..a49ac51 100755 --- a/scripts/dlvideompv +++ b/scripts/dlvideompv @@ -2,5 +2,7 @@ notify-send "Downloading  $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 mpv "/home/chris/vids/$filename" & disown