mirror of https://github.com/Phantop/dotfiles
qute: clean searches, fish: ytflux mark read
This commit is contained in:
parent
9a37efd628
commit
b640b74f93
|
@ -47,6 +47,7 @@ a re 'systemctl reboot -i'
|
|||
a s 'doas env "PATH=$PATH"'
|
||||
a ssh 'kitty +kitten ssh'
|
||||
a sus 'systemctl suspend'
|
||||
a svn 'git svn'
|
||||
a tar bsdtar
|
||||
a tcsv 'curl -sL http://torrents-csv.ml/service/search?q=$argv | jq ".[]|.name,.infohash,.seeders";:'
|
||||
a v vi
|
||||
|
@ -54,7 +55,6 @@ a venv 'python3 -m venv venv && source venv/bin/activate.fish && pip3 install -r
|
|||
a vi nvim
|
||||
a wallp 'gsettings set org.gnome.desktop.background picture-uri file://(realpath $argv);:'
|
||||
a ydl 'yt-dlp'
|
||||
a ytflux "curl $(cat ~/.miniflux)/entries?status=unread | jq .entries[].url | grep watch?v | xargs yt-dlp"
|
||||
|
||||
a 7zstd '7z a -m0=zstd -mx22 -mmt=8 -mfb=273 -md=1536m -ms=on (realpath $argv[1]).7z'
|
||||
a compress '7z a -m0=flzma2 -mx9 -mmt=8 -mfb=273 -md=1536m -ms=on (realpath $argv[1]).7z'
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
function ytflux
|
||||
set cat 3
|
||||
eval curl (cat ~/.miniflux)/entries?status=unread\&category_id=$cat | jq .entries[].url | xargs yt-dlp
|
||||
eval curl -X PUT (cat ~/.miniflux)/categories/$cat/mark-all-as-read
|
||||
end
|
|
@ -38,11 +38,12 @@ bind = {
|
|||
'E': 'config-cycle -p content.javascript.enabled ;; reload',
|
||||
's1': 'download-open',
|
||||
'sa': 'open -t archive.is/submit/?url={url}',
|
||||
'sb': 'open https://splashblr.fly.dev/?u={url}',
|
||||
'sb': 'open splashblr.fly.dev/?u={url}',
|
||||
'sc': 'toggle-dark',
|
||||
'sd': "spawn fish -c 'dl; open (ls -a | rofi -dmenu -b -i || exit 0)'",
|
||||
'sg': 'debug-dump-page ~/Downloads/dump.html',
|
||||
'sm': 'monolith-save ~/Downloads/dump.html"',
|
||||
'sp': 'open morty.ononoki.org/?mortyurl={url}',
|
||||
'sq': 'spawn -u qr',
|
||||
'sr': 'remove-sticky',
|
||||
'st': 'config-cycle -p content.proxy socks://localhost:9050 ' + c.content.proxy,
|
||||
|
|
|
@ -6,12 +6,11 @@ c.confirm_quit = ['downloads']
|
|||
c.downloads.location.directory = '~/Downloads'
|
||||
c.qt.workarounds.remove_service_workers = True
|
||||
|
||||
c.url.searchengines['!'] = 'farside.link/librex/search.php?q=!{}'
|
||||
c.url.searchengines['4'] = '4get.ca/web?s={}'
|
||||
c.url.searchengines['!'] = 'farside.link/librey/search.php?q=!{}'
|
||||
c.url.searchengines['4'] = 'farside.link/4get/web?s={}'
|
||||
c.url.searchengines['a'] = 'annas-archive.org/search?q={}'
|
||||
c.url.searchengines['l'] = 'farside.link/librex/search.php?q={}'
|
||||
c.url.searchengines['m'] = 'morty.ononoki.org/?mortyurl={}'
|
||||
c.url.searchengines['n'] = 'https://search.marginalia.nu/search?query={}'
|
||||
c.url.searchengines['l'] = 'farside.link/librey/search.php?q={}'
|
||||
c.url.searchengines['m'] = 'https://search.marginalia.nu/search?query={}'
|
||||
c.url.searchengines['s'] = 'farside.link/searxng/search?q={}'
|
||||
c.url.searchengines['x'] = 'aldeid.com/wiki/X86-assembly/Instructions/{}'
|
||||
c.url.searchengines['y'] = 'farside.link/invidious/search?q={}'
|
||||
|
|
Loading…
Reference in New Issue