From d4d8fdbc3996880e12920e1fdf500e91569c724e Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Sat, 21 Nov 2020 16:18:05 +0100 Subject: Minor changes --- qutebrowser/.config/qutebrowser/config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'qutebrowser/.config') diff --git a/qutebrowser/.config/qutebrowser/config.py b/qutebrowser/.config/qutebrowser/config.py index e766985..0f09412 100644 --- a/qutebrowser/.config/qutebrowser/config.py +++ b/qutebrowser/.config/qutebrowser/config.py @@ -5,6 +5,7 @@ from qutebrowser.api import interceptor +# Avoid linter errors c = c config = config @@ -17,9 +18,9 @@ def filter_yt(info: interceptor.Request): info.block() +# Remove youtube adds interceptor.register(filter_yt) - # Colors c.colors.tabs.selected.odd.bg = "#875f5f" c.colors.tabs.selected.even.bg = "#875f5f" @@ -105,4 +106,3 @@ c.aliases = { # Style sheet c.content.user_stylesheets = '/home/urbain/dotfiles/qutebrowser/.config/qutebrowser/style.css' - -- cgit v1.2.3