1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2024-12-22 21:26:47 +00:00

fish: more quick mf functions; qute: discord dark adjust

This commit is contained in:
Phantop 2024-05-06 03:42:13 -04:00
parent f2279aa0ea
commit 86e1c157c7
3 changed files with 13 additions and 0 deletions

View file

@ -0,0 +1,6 @@
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

View file

@ -0,0 +1,6 @@
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

View file

@ -20,3 +20,4 @@ for site in sites:
config.set('content.headers.user_agent', 'iPhone', 'docs.google.com')
config.set('content.headers.user_agent', 'iPhone', 'drive.google.com')
config.set('colors.webpage.darkmode.enabled', False, 'canary.discord.com')