mirror of https://github.com/Phantop/dotfiles
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
|
||||
|
||||
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 |\
|
||||
grep -om1 http.\*zip | wget -i- -O"$F"; unzip "$F" -d "$2";}
|
||||
un bloc97/Anime4k ~/.config/mpv/shaders
|
||||
|
|
|
@ -6,7 +6,7 @@ if socket.gethostname() == 'wheatley':
|
|||
|
||||
c.content.fullscreen.window = True
|
||||
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.downloads.location.directory = '~/Downloads'
|
||||
|
|
|
@ -53,6 +53,7 @@ MAP = {
|
|||
"discord.com" : o(s, 'canary.discord.com'),
|
||||
"vm.tiktok.com" : o(s, 'proxitok.herokuapp.com'),
|
||||
"tumblr.com" : o(s, 'splashblr.herokuapp.com'),
|
||||
"www.npr.org" : o(s, 'text.npr.org'),
|
||||
}
|
||||
def f(info: i.Request):
|
||||
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 {
|
||||
zoom: 120%;
|
||||
background: #212121 !important;
|
||||
|
@ -55,34 +53,12 @@ $id: ads, leaderboard, player-ads, rc-row-container;
|
|||
@each $i in $id {##{$i} {display:none}}
|
||||
|
||||
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;
|
||||
--grey: var(--fg_faded);
|
||||
--dark_grey: #38444D;
|
||||
--darker_grey: #2A343C;
|
||||
--darkest_grey: #1f212c;
|
||||
--border_grey: #38444D;
|
||||
--fg_color: #FFFFFF;
|
||||
--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);
|
||||
--bg_overlays: var(--bg_panel);
|
||||
--background: var(--bg_color);
|
||||
--foreground: var(--bg_hover);
|
||||
--green: var(--accent);
|
||||
--highlighted: var(--bg_hover);
|
||||
--outside: var(--post);
|
||||
--post: #333544;
|
||||
--verified_blue: var(--accent);
|
||||
--icon_text: var(--fg_color);
|
||||
--profile_stat: var(--fg_color);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue