diff options
| author | Mohammad Reza Karimi <m.r.karimi.j@gmail.com> | 2026-01-18 01:33:29 -0500 |
|---|---|---|
| committer | Mohammad Reza Karimi <m.r.karimi.j@gmail.com> | 2026-01-18 01:33:29 -0500 |
| commit | 4052357e021085bc1c761108446ee09a778ade15 (patch) | |
| tree | e8664f34056a9f34538e1abb0b3eead15ecb4d70 /qute | |
| parent | 83113fff46023d6cde0c2d982978fe7f5a5cfce2 (diff) | |
big updates
Diffstat (limited to 'qute')
| -rw-r--r-- | qute/dot-config/qutebrowser/config.py | 15 | ||||
| -rw-r--r-- | qute/dot-config/qutebrowser/greasemonkey/whatsapp.js | 3 | ||||
| -rw-r--r-- | qute/dot-config/qutebrowser/startpage.html | 2 |
3 files changed, 15 insertions, 5 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" diff --git a/qute/dot-config/qutebrowser/greasemonkey/whatsapp.js b/qute/dot-config/qutebrowser/greasemonkey/whatsapp.js index a7c9a42..587b09a 100644 --- a/qute/dot-config/qutebrowser/greasemonkey/whatsapp.js +++ b/qute/dot-config/qutebrowser/greasemonkey/whatsapp.js @@ -20,6 +20,9 @@ span[dir="rtl"] { font-family: "Vazirmatn RD UI" !important; } + div[dir="rtl"] > span.quoted-mention { + font-family: "Vazirmatn RD UI" !important; + } footer p[dir="rtl"] span { font-family: "Vazirmatn RD UI" !important; }`; diff --git a/qute/dot-config/qutebrowser/startpage.html b/qute/dot-config/qutebrowser/startpage.html index 51b294b..bf53c0d 100644 --- a/qute/dot-config/qutebrowser/startpage.html +++ b/qute/dot-config/qutebrowser/startpage.html @@ -4,7 +4,7 @@ <title>about:blank</title> <style> body { - background-color: #2e3440; /* Dark background example */ + background-color: #181818; /* Dark background example */ /* color: #eceff4; */ font-family: "Bitter Pro"; letter-spacing: 1px; |
