From 86e1c157c7c6fb3cddaa8b9cd3a01921a3125f18 Mon Sep 17 00:00:00 2001 From: Phantop Date: Mon, 6 May 2024 03:42:13 -0400 Subject: [PATCH] fish: more quick mf functions; qute: discord dark adjust --- fish/functions/galflux.fish | 6 ++++++ fish/functions/mangaflux.fish | 6 ++++++ qutebrowser/sites.py | 1 + 3 files changed, 13 insertions(+) create mode 100644 fish/functions/galflux.fish create mode 100644 fish/functions/mangaflux.fish 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')