mirror of
https://github.com/Phantop/dotfiles
synced 2024-11-19 13:22:51 +00:00
7 lines
232 B
Fish
7 lines
232 B
Fish
|
function galflux
|
||
|
set cat (cat ~/.config/miniflux)/categories/2
|
||
|
set entries (eval curl $cat/entries?status=unread | jq -r .entries[].url)
|
||
|
eval curl -X PUT $cat/mark-all-as-read
|
||
|
parallel -u gallery-dl ::: $entries
|
||
|
end
|