aboutsummaryrefslogtreecommitdiff
path: root/qute/dot-config/qutebrowser/config.py
diff options
context:
space:
mode:
authorMohammad Reza Karimi <m.r.karimi.j@gmail.com>2026-01-18 01:33:29 -0500
committerMohammad Reza Karimi <m.r.karimi.j@gmail.com>2026-01-18 01:33:29 -0500
commit4052357e021085bc1c761108446ee09a778ade15 (patch)
treee8664f34056a9f34538e1abb0b3eead15ecb4d70 /qute/dot-config/qutebrowser/config.py
parent83113fff46023d6cde0c2d982978fe7f5a5cfce2 (diff)
big updates
Diffstat (limited to 'qute/dot-config/qutebrowser/config.py')
-rw-r--r--qute/dot-config/qutebrowser/config.py15
1 files changed, 11 insertions, 4 deletions
diff --git a/qute/dot-config/qutebrowser/config.py b/qute/dot-config/qutebrowser/config.py
index 8b6ce2c..feaf581 100644
--- a/qute/dot-config/qutebrowser/config.py
+++ b/qute/dot-config/qutebrowser/config.py
@@ -18,7 +18,7 @@ c.completion.open_categories = [
"filesystem",
]
-c.new_instance_open_target = "tab-bg"
+c.new_instance_open_target = "tab"
c.tabs.show = "multiple"
c.tabs.last_close = "close"
@@ -63,11 +63,16 @@ config.bind(
c.editor.command = ["alacritty", "-e", "nvim", "{file}", "-c", "normal {line}G{column}"]
+# c.aliases.update(
+# {
+# "save-to-zotero": """jseval --quiet var d=document,s=d.createElement("script");s.src="https://www.zotero.org/bookmarklet/loader.js";(d.body?d.body:d.documentElement).appendChild(s);void(0);""",
+# "zotero": "spawn --userscript qute-zotero",
+# }
+# )
+
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
@@ -81,7 +86,9 @@ with config.pattern("*://*.slack.com/*") as p:
p.content.unknown_url_scheme_policy = "allow-all"
with config.pattern("*://accounts.google.com/*") as p:
- p.content.headers.user_agent = "Mozilla/5.0 ({os_info}; rv:131.0) Gecko/20100101 Firefox/131.0"
+ p.content.headers.user_agent = (
+ "Mozilla/5.0 ({os_info}; rv:131.0) Gecko/20100101 Firefox/131.0"
+ )
c.content.blocking.enabled = True
c.content.blocking.method = "both"