diff --git a/fish/functions/galflux.fish b/fish/functions/galflux.fish new file mode 100644 index 0000000..82f0934 --- /dev/null +++ b/fish/functions/galflux.fish @@ -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 diff --git a/fish/functions/mangaflux.fish b/fish/functions/mangaflux.fish new file mode 100644 index 0000000..3eb922f --- /dev/null +++ b/fish/functions/mangaflux.fish @@ -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 diff --git a/qutebrowser/sites.py b/qutebrowser/sites.py index 886f8a9..76b19bd 100644 --- a/qutebrowser/sites.py +++ b/qutebrowser/sites.py @@ -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')