mirror of
https://github.com/Phantop/dotfiles
synced 2024-12-25 14:46:42 +00:00
7 lines
238 B
Fish
7 lines
238 B
Fish
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
|