mirror of
https://github.com/Phantop/dotfiles
synced 2024-11-17 04:12:44 +00:00
6 lines
213 B
Fish
6 lines
213 B
Fish
function ytflux
|
|
set cat 3
|
|
eval curl (cat ~/.miniflux)/entries?status=unread\&category_id=$cat | jq .entries[].url | xargs yt-dlp
|
|
eval curl -X PUT (cat ~/.miniflux)/categories/$cat/mark-all-as-read
|
|
end
|