1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2024-11-26 00:33:22 +00:00

qute: small blocking and page fixes; all2jxl ppm

This commit is contained in:
Phantop 2022-06-19 13:03:20 -04:00
parent fe4facc21c
commit 5d9c9db877
4 changed files with 4 additions and 5 deletions

View file

@ -9,7 +9,7 @@ set -U fish_features 3.{0,1,4}
alias a 'alias -s'
a acmus 'timeout (math 60 - (date +%M))m mpv --loop https://acmusicext.com/static/$argv/sunny/(date +%-I%P).ogg'
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 all2jxl 'fd -e{png,jpg,ppm} -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;:'

View file

@ -18,7 +18,7 @@ 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'
c.url.start_pages = c.url.default_page = 'https://megafocs.herokuapp.com'
config.source('adblock.py')
config.source('bindings.py')

View file

@ -3,11 +3,10 @@ c.content.javascript.enabled = False
c.content.notifications.enabled = False
c.content.register_protocol_handler = False
sites = [
c.url.default_page,
'archiveofourown.org',
'canary.discord.com',
'*.tutanota.com',
'megafocs.herokuapp.com',
'*.rpi.edu',
'api-3e0243bb.duosecurity.com',

View file

@ -49,7 +49,7 @@ $div: 'class*=-ad-container', 'class*=ad-wrapper', 'id*=_ad_native',
'id^=div-gpt-ad', 'id^=google_ads_', 'id^=netboard_', 'id^=skyscraper';
@each $i in $div {div[#{$i}] {display:none}}
$id: ads, comments, leaderboard, player-ads, rc-row-container;
$id: ads, leaderboard, player-ads, rc-row-container;
@each $i in $id {##{$i} {display:none}}
body {