1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2024-12-27 07:26:43 +00:00
dotfiles/fish/functions/mangaflux.fish

7 lines
266 B
Fish
Raw Normal View History

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