fish: make mpv aliases more modular
This commit is contained in:
parent
7f45698fc7
commit
e5c5e2899d
@ -1,9 +1,10 @@
|
|||||||
# Color ls
|
# Color ls
|
||||||
alias ls='ls --color=auto'
|
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
|
# 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]"'
|
alias youtube-dl='youtube-dl -f "bestvideo[ext=mp4][height<=?1080]+bestaudio[ext=m4a]"'
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user