trying to fix tridactyl
This commit is contained in:
parent
deed36a049
commit
89c60d608a
2 changed files with 3 additions and 1 deletions
|
@ -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))
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue