aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorCharles Cabergs <me@cacharle.xyz>2021-06-30 09:36:47 +0200
committerCharles Cabergs <me@cacharle.xyz>2021-06-30 09:36:47 +0200
commit84b044b0c23a0f8378096657f7f16352791d48f0 (patch)
tree73be11c673961199e644676262c9846de1e53f81 /config
parent5d53d6f6428c1b12ce2b05227c2dc9c8e17cfef2 (diff)
downloaddotfiles-84b044b0c23a0f8378096657f7f16352791d48f0.tar.gz
dotfiles-84b044b0c23a0f8378096657f7f16352791d48f0.tar.bz2
dotfiles-84b044b0c23a0f8378096657f7f16352791d48f0.zip
Added vim read from shell command doesn't include stderr, Added qutebrowser more adblock lists
Diffstat (limited to 'config')
-rw-r--r--config/qutebrowser/config.py20
-rw-r--r--config/vim/vimrc1
2 files changed, 21 insertions, 0 deletions
diff --git a/config/qutebrowser/config.py b/config/qutebrowser/config.py
index ddd125c..831c3e1 100644
--- a/config/qutebrowser/config.py
+++ b/config/qutebrowser/config.py
@@ -77,12 +77,32 @@ config.unbind('d', 'normal')
config.bind('dd', 'tab-close', 'normal')
c.colors.webpage.darkmode.enabled = True # Convert light themed sites to dark theme
+c.colors.webpage.preferred_color_scheme = 'dark'
+c.colors.webpage.darkmode.policy.images = 'smart'
config.bind('<Ctrl-Shift-t>', 'config-cycle -p content.proxy socks://localhost:9050/ system', mode='normal')
c.content.autoplay = False
c.content.notifications.enabled = False
+c.content.prefers_reduced_motion = True
+c.content.headers.do_not_track = True
# c.content.cookies.accept = 'no-3rdparty'
+# adblock on youtube isn't supported: https://github.com/qutebrowser/qutebrowser/issues/6480
+c.content.blocking.enabled = True
+c.content.blocking.adblock.lists = [
+ 'https://easylist.to/easylist/easylist.txt',
+ 'https://easylist.to/easylist/easyprivacy.txt',
+ 'https://secure.fanboy.co.nz/fanboy-cookiemonster.txt',
+ 'https://easylist.to/easylist/fanboy-annoyance.txt',
+ 'https://secure.fanboy.co.nz/fanboy-annoyance.txt',
+ 'https://github.com/uBlockOrigin/uAssets/raw/master/filters/annoyances.txt',
+ 'https://github.com/uBlockOrigin/uAssets/raw/master/filters/filters-2020.txt',
+ 'https://github.com/uBlockOrigin/uAssets/raw/master/filters/unbreak.txt',
+ 'https://github.com/uBlockOrigin/uAssets/raw/master/filters/resource-abuse.txt',
+ 'https://github.com/uBlockOrigin/uAssets/raw/master/filters/privacy.txt',
+ 'https://github.com/uBlockOrigin/uAssets/raw/master/filters/filters.txt'
+]
+
c.content.headers.user_agent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/{webkit_version} (KHTML, like Gecko) {qt_key}/{qt_version}"
c.auto_save.session = True
c.session.lazy_restore = True
diff --git a/config/vim/vimrc b/config/vim/vimrc
index 0557924..c7d4b55 100644
--- a/config/vim/vimrc
+++ b/config/vim/vimrc
@@ -39,6 +39,7 @@ scriptencoding utf-8
set formatoptions-=t " do not auto break line > 89 character
filetype plugin indent on " allow to add specific rules for certain type of file
" set mouse=a " mouse scrolling (heretic)
+set shellredir=> " don't inclue stderr when reading a command
" }}}
" browse list with tab {{{