My fish config
This commit is contained in:
3
functions/mpvfzf.fish
Normal file
3
functions/mpvfzf.fish
Normal file
@@ -0,0 +1,3 @@
|
||||
function mpvfzf --wraps=mpvyt\\\\\\\ ls\\\\\\\ \\\\\\\~/Vídeos/yt-dlp\\\\\\\ \\\\\\\|\\\\\\\ fzf\\\\\\\ --reverse\\\\\\\ --prompt\\\\\\\ \\\\\\\'Play\\\\\\\ video:\\\\\\\ \\\\\\\'\\\\\\\ --bind\\\\\\\ \\\\\\\'enter:execute\\\\\\\(mpv\\\\\\\ /home/allann/Vídeos/yt-dlp/\\\\\\\{\\\\\\\}\\\\\\\)\\\\\\\' --wraps=mpvyt\ ls\ \~/Vídeos/yt-dlp\ \|\ fzf\ --reverse\ --prompt\ \'Play\ video:\ \'\ --bind\ \'enter:execute\(mpv\ /home/allann/Vídeos/yt-dlp/\{\}\)\' --wraps=ls\ \~/Vídeos/yt-dlp\ \|\ fzf\ --reverse\ --prompt\ \'Play\ video:\ \'\ --bind\ \'enter:execute\(mpv\ /home/allann/Vídeos/yt-dlp/\{\}\)\' --wraps=ls\ \~/Vídeos/yt-dlp\ \|\ fzf\ --reverse\ --prompt\ \'Play\ video:\ \'\ --bind\ \'enter:execute\(mpv\ \"/home/allann/Vídeos/yt-dlp/\{\}\"\ --x11-name=mpv-yt-dlp\)\' --wraps=ls\ \~/Vídeos/yt-dlp\ \|\ fzf\ --reverse\ --prompt\ \'Play\ video:\ \'\ --bind\ \'enter:execute\(mpv\ /home/allann/Vídeos/yt-dlp/\{\}\ --x11-name=mpv-yt-dlp\)\' --wraps=ls\ -I\ \'\*.json\'\ \~/Vídeos/yt-dlp\ \|\ fzf\ --reverse\ --prompt\ \'Play\ video:\ \'\ --bind\ \'enter:execute\(mpv\ /home/allann/Vídeos/yt-dlp/\{\}\ --x11-name=mpv-yt-dlp\)\' --wraps='ls -I "*.json" ~/Vídeos/yt-dlp | fzf --reverse --prompt "Play video: " --bind "enter:execute(mpv /home/allann/Vídeos/yt-dlp/{} --x11-name=mpv-yt-dlp)"' --wraps='find ~/Vídeos -type f -not -name "*.json" | fzf --reverse --prompt "Play video: " --bind "enter:execute(mpv /home/allann/Vídeos/yt-dlp/{} --x11-name=mpv-yt-dlp)"' --wraps='cd ~/Vídeos/yt-dlp; find . -type f -not -name "*.json" | fzf --reverse --prompt "Play video: " --bind "enter:execute(mpv /home/allann/Vídeos/yt-dlp/{} --x11-name=mpv-yt-dlp)"; cd -' --wraps='cd ~/Vídeos/yt-dlp; find . -type f -not -name "*.json" -mindepth 1 | fzf --reverse --prompt "Play video: " --bind "enter:execute(mpv /home/allann/Vídeos/yt-dlp/{} --x11-name=mpv-yt-dlp)"; cd -' --wraps='cd ~/Vídeos/yt-dlp; find . -mindepth 1 -type f -not -name "*.json" | fzf --reverse --prompt "Play video: " --bind "enter:execute(mpv /home/allann/Vídeos/yt-dlp/{} --x11-name=mpv-yt-dlp)"; cd -' --wraps='cd ~/Vídeos/yt-dlp; find . ! -path . -type f -not -name "*.json" | fzf --reverse --prompt "Play video: " --bind "enter:execute(mpv /home/allann/Vídeos/yt-dlp/{} --x11-name=mpv-yt-dlp)"; cd -' --wraps='cd ~/Vídeos/yt-dlp; find * -type f -not -name "*.json" | fzf --reverse --prompt "Play video: " --bind "enter:execute(mpv /home/allann/Vídeos/yt-dlp/{} --x11-name=mpv-yt-dlp)"; cd -' --description 'alias mpvfzf cd ~/Vídeos/yt-dlp; find * -type f -not -name "*.json" | fzf --reverse --prompt "Play video: " --bind "enter:execute(mpv /home/allann/Vídeos/yt-dlp/{} --x11-name=mpv-yt-dlp)"; cd -'
|
||||
cd ~/Vídeos/yt-dlp; find * -type f -not -name "*.json" | fzf --reverse --prompt "Play video: " --bind "enter:execute(mpv /home/allann/Vídeos/yt-dlp/{} --wayland-app-id=mpv-yt-dlp)"; cd - $argv;
|
||||
end
|
||||
Reference in New Issue
Block a user