mirror of
https://github.com/Phantop/dotfiles
synced 2024-12-23 05:37:29 +00:00
fish: more quick mf functions; qute: discord dark adjust
This commit is contained in:
parent
f2279aa0ea
commit
86e1c157c7
6
fish/functions/galflux.fish
Normal file
6
fish/functions/galflux.fish
Normal 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
|
6
fish/functions/mangaflux.fish
Normal file
6
fish/functions/mangaflux.fish
Normal 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
|
|
@ -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')
|
||||
|
|
Loading…
Reference in a new issue