1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2024-12-01 11:03:53 +00:00
dotfiles/fish/functions/ytflux.fish

7 lines
233 B
Fish
Raw Normal View History

function ytflux
set cat (cat ~/.config/miniflux)/categories/3
set entries (eval curl $cat/entries?status=unread | jq -r .entries[].url)
eval curl -X PUT $cat/mark-all-as-read
parallel -u yt-dlp $argv ::: $entries
end