mirror of
https://github.com/Phantop/dotfiles
synced 2025-11-26 06:06:40 +00:00
qute: fix and clean css, redirect npr
This commit is contained in:
parent
555d998d24
commit
a9dd6d26e9
|
|
@ -20,6 +20,8 @@ echo source ~/.config/bashrc > ~/.bashrc
|
||||||
ln -s ~/.config/gtk-3.0/gtkrc ~/.gtkrc-2.0
|
ln -s ~/.config/gtk-3.0/gtkrc ~/.gtkrc-2.0
|
||||||
|
|
||||||
wget https://github.com/dracula/kitty/raw/master/dracula.conf -P ~/.config/kitty
|
wget https://github.com/dracula/kitty/raw/master/dracula.conf -P ~/.config/kitty
|
||||||
|
wget https://source.netsurf-browser.org/netsurf.git/plain/resources/adblock.css\
|
||||||
|
https://nitter.it/css/themes/dracula.css -P ~/.config/qutebrowser
|
||||||
un(){ F=$(mktemp); mkdir -p "$2"; curl https://api.github.com/repos/"$1"/releases |\
|
un(){ F=$(mktemp); mkdir -p "$2"; curl https://api.github.com/repos/"$1"/releases |\
|
||||||
grep -om1 http.\*zip | wget -i- -O"$F"; unzip "$F" -d "$2";}
|
grep -om1 http.\*zip | wget -i- -O"$F"; unzip "$F" -d "$2";}
|
||||||
un bloc97/Anime4k ~/.config/mpv/shaders
|
un bloc97/Anime4k ~/.config/mpv/shaders
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ if socket.gethostname() == 'wheatley':
|
||||||
|
|
||||||
c.content.fullscreen.window = True
|
c.content.fullscreen.window = True
|
||||||
c.content.proxy = 'http://localhost:8118'
|
c.content.proxy = 'http://localhost:8118'
|
||||||
c.content.user_stylesheets = 'user.css'
|
c.content.user_stylesheets = ['adblock.css', 'dracula.css', 'user.css']
|
||||||
|
|
||||||
c.confirm_quit = ['downloads']
|
c.confirm_quit = ['downloads']
|
||||||
c.downloads.location.directory = '~/Downloads'
|
c.downloads.location.directory = '~/Downloads'
|
||||||
|
|
|
||||||
|
|
@ -53,6 +53,7 @@ MAP = {
|
||||||
"discord.com" : o(s, 'canary.discord.com'),
|
"discord.com" : o(s, 'canary.discord.com'),
|
||||||
"vm.tiktok.com" : o(s, 'proxitok.herokuapp.com'),
|
"vm.tiktok.com" : o(s, 'proxitok.herokuapp.com'),
|
||||||
"tumblr.com" : o(s, 'splashblr.herokuapp.com'),
|
"tumblr.com" : o(s, 'splashblr.herokuapp.com'),
|
||||||
|
"www.npr.org" : o(s, 'text.npr.org'),
|
||||||
}
|
}
|
||||||
def f(info: i.Request):
|
def f(info: i.Request):
|
||||||
if (info.resource_type != i.ResourceType.main_frame or
|
if (info.resource_type != i.ResourceType.main_frame or
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,3 @@
|
||||||
@import url(http://source.netsurf-browser.org/netsurf.git/plain/resources/adblock.css);
|
|
||||||
|
|
||||||
#hnmain {
|
#hnmain {
|
||||||
zoom: 120%;
|
zoom: 120%;
|
||||||
background: #212121 !important;
|
background: #212121 !important;
|
||||||
|
|
@ -55,34 +53,12 @@ $id: ads, leaderboard, player-ads, rc-row-container;
|
||||||
@each $i in $id {##{$i} {display:none}}
|
@each $i in $id {##{$i} {display:none}}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
--accent: #bd93f9;
|
|
||||||
--accent_border: #bd93f9;
|
|
||||||
--accent_dark: #715895;
|
|
||||||
--accent_light: #d7befb;
|
|
||||||
--background: #282a36;
|
|
||||||
--bg_color: #282a36;
|
|
||||||
--bg_elements: var(--bg_panel);
|
|
||||||
--bg_hover: #383a45;
|
|
||||||
--bg_overlays: var(--bg_panel);
|
|
||||||
--bg_panel: #232531;
|
--bg_panel: #232531;
|
||||||
--grey: var(--fg_faded);
|
--bg_overlays: var(--bg_panel);
|
||||||
--dark_grey: #38444D;
|
--background: var(--bg_color);
|
||||||
--darker_grey: #2A343C;
|
--foreground: var(--bg_hover);
|
||||||
--darkest_grey: #1f212c;
|
--green: var(--accent);
|
||||||
--border_grey: #38444D;
|
--highlighted: var(--bg_hover);
|
||||||
--fg_color: #FFFFFF;
|
--outside: var(--post);
|
||||||
--fg_dark: var(--fg_faded);
|
|
||||||
--fg_faded: #8899A6;
|
|
||||||
--fg_nav: var(--accent);
|
|
||||||
--foreground: #3d4051;
|
|
||||||
--more_replies_dots: var(--accent_dark);
|
|
||||||
--outside: #393c4d;
|
|
||||||
--play_button: var(--accent);
|
|
||||||
--play_button_hover: var(--accent_light);
|
|
||||||
--tab: var(--grey);
|
|
||||||
--tab_selected: var(--accent);
|
|
||||||
--post: #333544;
|
--post: #333544;
|
||||||
--verified_blue: var(--accent);
|
|
||||||
--icon_text: var(--fg_color);
|
|
||||||
--profile_stat: var(--fg_color);
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue