aboutsummaryrefslogtreecommitdiff
path: root/qute/dot-config/qutebrowser/config.py
diff options
context:
space:
mode:
Diffstat (limited to 'qute/dot-config/qutebrowser/config.py')
-rw-r--r--qute/dot-config/qutebrowser/config.py29
1 files changed, 27 insertions, 2 deletions
diff --git a/qute/dot-config/qutebrowser/config.py b/qute/dot-config/qutebrowser/config.py
index 1a5c3ee..54f3f6d 100644
--- a/qute/dot-config/qutebrowser/config.py
+++ b/qute/dot-config/qutebrowser/config.py
@@ -18,6 +18,10 @@ c.completion.open_categories = [
"filesystem",
]
+c.new_instance_open_target = "tab-bg"
+
+c.tabs.show = "multiple"
+
config.load_autoconfig() # load settings done via the gui
config.bind(
@@ -37,13 +41,34 @@ config.bind(
"spawn --userscript qute-pass --otp-only --username-pattern='login: (.*)' --username-target=secret",
)
+config.bind(
+ ",m",
+ "spawn mpv {url}",
+)
+
+config.bind(
+ ",M",
+ "hint links spawn spawn mpv {hint-url}",
+)
+
c.editor.command = ["alacritty", "-e", "nvim", "{file}", "-c", "normal {line}G{column}"]
+c.colors.statusbar.private.bg = "#CF87E8"
+
+c.colors.webpage.preferred_color_scheme = "dark"
+# c.colors.webpage.darkmode.enabled = True
+# c.colors.webpage.darkmode.algorithm = "lightness-cielab"
+# c.colors.webpage.darkmode.threshold.foreground = 150
+# c.colors.webpage.darkmode.threshold.background = 100
+# c.colors.webpage.darkmode.policy.images = "smart"
+
+# config.set("colors.webpage.bg", "#282828")
+
# NOTE: to make Slack sign-in work:
-# c.content.unknown_url_scheme_policy = "allow-all"
+c.content.unknown_url_scheme_policy = "allow-all"
c.content.blocking.enabled = True
-c.content.blocking.method = "adblock"
+c.content.blocking.method = "both"
# c.content.blocking.adblock.lists = [
# "https://github.com/uBlockOrigin/uAssets/raw/master/filters/legacy.txt",