mirror of
https://github.com/Phantop/dotfiles
synced 2025-01-03 10:47:36 +00:00
fish: awall alias; qute: librex; yt-dlp: sponsoblock
This commit is contained in:
parent
be3d47070d
commit
599de56894
|
@ -11,6 +11,7 @@ a acmus 'timeout (math 60 - (date +%M))m mpv --loop https://acmusicext.com/stati
|
|||
a aliases 'v (env which aliases); command aliases'
|
||||
a all2jxl 'fd -e{pn,jp}g -x cjxl -e 8 -d 0 {} {.}.jxl \; -x rm'
|
||||
a ao3 'grep works/.\*/b $argv | cut -d/ -f3 | parallel curl -OJL ao3.org/downloads/{}/1.epub;:'
|
||||
a awall 'xwinwrap -ni -fdt -fs -- mpv -wid WID ~/Pictures/Awall/$argv* --profile=wallpaper'
|
||||
a base64d 'echo (echo $argv | base64 -d 2>/dev/null) | tee /dev/stderr 2>| clip;:'
|
||||
a catbox 'curl https://catbox.moe/user/api.php -F reqtype=fileupload -F fileToUpload=@$argv;:'
|
||||
a clip 'xclip -sel clip'
|
||||
|
|
|
@ -1,9 +0,0 @@
|
|||
#!/bin/sh
|
||||
[ "$#" -ge 1 ] && echo ~/Pictures/Awall/"$1"* > ~/Pictures/.wallp
|
||||
pkill -f "mpv.*wallpaper"
|
||||
nohup xwinwrap -ni -fdt -fs -- mpv -wid WID "$(cat ~/Pictures/.wallp)" --profile=wallpaper >/dev/null 2>&1 &
|
||||
if [ "$#" -ge 1 ]; then
|
||||
ffmpeg -i "$(cat ~/Pictures/.wallp)" -vframes 1 -y ~/Pictures/Awall/wall.png
|
||||
mogrify -interpolate Integer -filter point -resize 1920x1080 -gravity center -background black -extent 1920x1080 ~/Pictures/Awall/wall.png
|
||||
gsettings set org.gnome.desktop.background picture-uri file://"$HOME"/Pictures/Awall/wall.png
|
||||
fi
|
|
@ -13,10 +13,11 @@ c.downloads.location.directory = '~/Downloads'
|
|||
c.qt.workarounds.remove_service_workers = True
|
||||
|
||||
c.url.searchengines['DEFAULT'] = 'farside.link/searxng/search?q={}'
|
||||
c.url.searchengines['y'] = 'farside.link/invidious/search?q={}'
|
||||
c.url.searchengines['t'] = 'ao3.org/tags/{}'
|
||||
c.url.searchengines['!'] = 'duckduckgo.com/?q=!{}'
|
||||
c.url.searchengines['l'] = 'librex.elpengu.com/search.php?q={}'
|
||||
c.url.searchengines['m'] = 'morty.ononoki.org/?mortyurl={}'
|
||||
c.url.searchengines['t'] = 'ao3.org/tags/{}'
|
||||
c.url.searchengines['y'] = 'farside.link/invidious/search?q={}'
|
||||
c.url.searchengines['!'] = 'duckduckgo.com/?q=!{}'
|
||||
c.url.start_pages = c.url.default_page = 'megafocs.herokuapp.com'
|
||||
|
||||
config.source('adblock.py')
|
||||
|
|
|
@ -41,8 +41,8 @@ ul.work > li.download {
|
|||
}
|
||||
}
|
||||
|
||||
$class: ad-frame-container, ad-panel, ad-slot, adsbygoogle,
|
||||
adbox, adunit, adunit-wrapper, b_ad, leaderboard, pure-u-lg-1-5;
|
||||
$class: ad-frame-container, ad-panel, ad-slot, adsbygoogle, adbox, adunit,
|
||||
adunit-wrapper, b_ad, leaderboard, "pure-u-lg-1-5:nth-child(3)";
|
||||
@each $i in $class {.#{$i} {display:none}}
|
||||
|
||||
$div: 'class*=-ad-container', 'class*=ad-wrapper', 'id*=_ad_native',
|
||||
|
|
|
@ -6,3 +6,4 @@
|
|||
--compat-options no-keep-subs
|
||||
-S lang,quality,res,fps,hdr:12,acodec,size,br,vcodec,asr,proto,ext,hasaud,source,id
|
||||
-o "%(title)s.%(ext)s"
|
||||
--sponsorblock-remove all
|
||||
|
|
Loading…
Reference in a new issue