From e5c5e2899d607c2f57acfa2822c29ac2447b17dc Mon Sep 17 00:00:00 2001 From: dogeystamp Date: Fri, 1 Jul 2022 17:37:14 -0400 Subject: [PATCH] fish: make mpv aliases more modular --- src/.config/fish/aliases.fish | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/.config/fish/aliases.fish b/src/.config/fish/aliases.fish index 7d17817..ef86f39 100644 --- a/src/.config/fish/aliases.fish +++ b/src/.config/fish/aliases.fish @@ -1,9 +1,10 @@ # Color ls alias ls='ls --color=auto' -# Run mpv from clipboard, replacing Invidious instances with YouTube's domain # 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)' +alias mpvs='mpv --ytdl-format="bestvideo[ext=mp4][height<=?1080]+bestaudio[ext=m4a]"' +# Run mpv from clipboard +alias mpvy='mpvs (xsel -b)' alias youtube-dl='youtube-dl -f "bestvideo[ext=mp4][height<=?1080]+bestaudio[ext=m4a]"'