1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2024-11-05 06:25:00 +00:00

qute: nitter dracula, ublock dev filter, megafocs, splash

This commit is contained in:
Phantop 2022-03-14 13:58:57 -04:00
parent 8dc4a8e7ff
commit 9510e339bb
5 changed files with 22 additions and 2 deletions

View file

@ -31,5 +31,6 @@ abp("https://raw.githubusercontent.com/uBlockOrigin/uAssets/master/filters/badwa
abp("https://raw.githubusercontent.com/uBlockOrigin/uAssets/master/filters/privacy.txt")
abp("https://raw.githubusercontent.com/uBlockOrigin/uAssets/master/filters/resource-abuse.txt")
abp("https://raw.githubusercontent.com/uBlockOrigin/uAssets/master/filters/unbreak.txt")
abp("https://github.com/quenhus/uBlock-Origin-dev-filter/raw/main/dist/duckduckgo/global.txt")
abp("https://raw.githubusercontent.com/curbengh/urlhaus-filter/master/urlhaus-filter-online.txt")
abp("https://pgl.yoyo.org/adservers/serverlist.php?hostformat=adblockplus&showintro=1&mimetype=plaintext")

View file

@ -19,6 +19,7 @@ bind = {
'sc': 'toggle-dark',
'sd': "spawn fish -c 'dl; open (ls | rofi -dmenu -b -i || exit 0)'",
'sg': 'debug-dump-page ~/Downloads/dump.html',
'sm': 'spawn kitty fish -c "monolith {url} -o ~/Downloads/{url:domain}.html"',
'sq': 'spawn -u qr',
'sr': 'remove-sticky',
'st': 'config-cycle -p content.proxy socks://localhost:9050/ system',

View file

@ -9,7 +9,7 @@ config.source('redirects.py')
import subprocess
subprocess.run(["sass", config.configdir / 'user.scss', config.configdir / 'user.css'])
c.url.start_pages = c.url.default_page = 'fast-headland-67505.herokuapp.com'
c.url.start_pages = c.url.default_page = 'megafocs.herokuapp.com'
config.set('content.javascript.enabled', True, c.url.start_pages)
c.url.searchengines['y'] = 'farside.link/invidious/search?q={}'

View file

@ -52,6 +52,7 @@ MAP = {
"www.amazon.com": o(s, 'smile.amazon.com'),
"discord.com" : o(s, 'canary.discord.com'),
"vm.tiktok.com" : o(s, 'proxitok.herokuapp.com'),
"tumblr.com" : o(s, 'tumblr-splash.herokuapp.com'),
}
def f(info: i.Request):
if (info.resource_type != i.ResourceType.main_frame or

View file

@ -38,7 +38,7 @@ ul.work > li.download {
border: none;
position: unset;
> li {font-size: small; &:not(:nth-child(2)) {display: none}}
}
}
}
$class: ad-frame-container, ad-panel, ad-slot, adsbygoogle,
@ -51,3 +51,20 @@ $div: 'class*=-ad-container', 'class*=ad-wrapper', 'id*=_ad_native',
$id: ads, leaderboard, player-ads, rc-row-container;
@each $i in $id {##{$i} {display:none}}
body {
--bg_color: #282a36;
--fg_color: #FFFFFF;
--fg_faded: #8899A6;
--bg_panel: #232531;
--bg_hover: #383a45;
--more_replies_dots: var(--accent_dark);
--darkest_grey: #1f212c;
--accent: #bd93f9;
--accent_light: #d7befb;
--accent_dark: #715895;
--background: #282a36;
--foreground: #3d4051;
--outside: #393c4d;
--post: #333544;
}