diff options
Diffstat (limited to 'config')
| -rw-r--r-- | config/qutebrowser/config.py | 20 | ||||
| -rw-r--r-- | config/vim/vimrc | 1 |
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 {{{ |
