From 0cc6ccdd573f83cab2d023319bdd7c56db703e23 Mon Sep 17 00:00:00 2001 From: DogeyStamp Date: Sat, 12 Mar 2022 20:28:14 -0500 Subject: [PATCH] Change mpvy alias --- src/.config/fish/aliases.fish | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/.config/fish/aliases.fish b/src/.config/fish/aliases.fish index dc3190c..d5d391d 100644 --- a/src/.config/fish/aliases.fish +++ b/src/.config/fish/aliases.fish @@ -1,11 +1,9 @@ # Color ls alias ls='ls --color=auto' -# Limit mpv and youtube-dl to 1080p so it doesn't use too much bandwidth -alias mpv='mpv --ytdl-format="bestvideo[ext=mp4][height<=?1080]+bestaudio[ext=m4a]"' - # Run mpv from clipboard, replacing Invidious instances with YouTube's domain -alias mpvy='mpv (xsel -b | sed "s/vid\.mint\.lgbt/youtube\.com/g" | sed "s/yewtu\.be/youtube\.com/g")' +# Limit mpv and youtube-dl to 1080p so it doesn't use too much bandwidth +alias mpvy='mpv --ytdl-format="bestvideo[ext=mp4][height<=?1080]+bestaudio[ext=m4a]" (xsel -b | sed "s/vid\.mint\.lgbt/youtube\.com/g" | sed "s/yewtu\.be/youtube\.com/g")' alias youtube-dl='youtube-dl -f "bestvideo[ext=mp4][height<=?1080]+bestaudio[ext=m4a]"'