diff options
| author | Luke Smith <luke@lukesmith.xyz> | 2019-05-30 10:04:37 -0400 |
|---|---|---|
| committer | Luke Smith <luke@lukesmith.xyz> | 2019-05-30 10:04:37 -0400 |
| commit | 522a4bd2c1f5d37600bf905815f65eec3e327006 (patch) | |
| tree | fc45a0ced7b4403b38892450d7e808439a2678df | |
| parent | 16bfbcfcbaeb41094aa963037e284c3798f1b44b (diff) | |
| download | eibhear-522a4bd2c1f5d37600bf905815f65eec3e327006.tar.gz eibhear-522a4bd2c1f5d37600bf905815f65eec3e327006.tar.zst eibhear-522a4bd2c1f5d37600bf905815f65eec3e327006.zip | |
yt fix
| -rwxr-xr-x | .local/bin/linkhandler | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/linkhandler b/.local/bin/linkhandler index c616d04..b839da2 100755 --- a/.local/bin/linkhandler +++ b/.local/bin/linkhandler @@ -10,7 +10,7 @@ [ -z "$1" ] && { "$BROWSER"; exit; } case "$1" in - *mkv|*webm|*mp4|*youtube.com*|*youtu.be*|*hooktube.com*|*bitchute.com*) + *mkv|*webm|*mp4|*youtube.com/watch*|*youtube.com/playlist*|*youtu.be*|*hooktube.com*|*bitchute.com*) setsid mpv --input-ipc-server=/tmp/mpvsoc$(date +%s) -quiet "$1" >/dev/null 2>&1 & ;; *png|*jpg|*jpe|*jpeg|*gif) curl -sL "$1" > "/tmp/$(echo "$1" | sed "s/.*\///")" && sxiv -a "/tmp/$(echo "$1" | sed "s/.*\///")" >/dev/null 2>&1 & ;; |
