AutoYADM commit: 2025-06-01 23:09:28
This commit is contained in:
parent
83f8525ea0
commit
23ac62f791
1 changed files with 6 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
||||||
# $XDG_CONFIG_HOME/qutebrowser/config.py
|
# $XDG_CONFIG_HOME/qutebrowser/config.py
|
||||||
|
# pyright: disabled
|
||||||
# general settings
|
# general settings
|
||||||
config.load_autoconfig()
|
config.load_autoconfig()
|
||||||
c.editor.command = ["footclient", "kak", "{}"]
|
c.editor.command = ["footclient", "kak", "{}"]
|
||||||
|
@ -24,9 +24,10 @@ c.colors.webpage.darkmode.enabled = True
|
||||||
c.colors.webpage.darkmode.algorithm = "lightness-cielab"
|
c.colors.webpage.darkmode.algorithm = "lightness-cielab"
|
||||||
c.colors.webpage.darkmode.policy.images = "never"
|
c.colors.webpage.darkmode.policy.images = "never"
|
||||||
config.set("colors.webpage.darkmode.enabled", False, "file://*")
|
config.set("colors.webpage.darkmode.enabled", False, "file://*")
|
||||||
|
# config.set("colors.webpage.darkmode.enabled", False, "*.sr.ht/*")
|
||||||
|
|
||||||
# searches
|
# searches
|
||||||
c.url.searchengines["DEFAULT"] = "https://duckduckgo.com/q={}"
|
c.url.searchengines["DEFAULT"] = "https://duckduckgo.com/?q={}"
|
||||||
c.url.searchengines["!aw"] = "https://wiki.archlinux.org/?search={}"
|
c.url.searchengines["!aw"] = "https://wiki.archlinux.org/?search={}"
|
||||||
c.url.searchengines["!g"] = (
|
c.url.searchengines["!g"] = (
|
||||||
"http://www.google.com/search?hl=en&source=hp&ie=ISO-8859-l&q={}"
|
"http://www.google.com/search?hl=en&source=hp&ie=ISO-8859-l&q={}"
|
||||||
|
@ -42,12 +43,14 @@ config.bind("i", "scroll right", mode="normal")
|
||||||
config.bind("M", "back", mode="normal")
|
config.bind("M", "back", mode="normal")
|
||||||
config.bind("N", "tab-next", mode="normal")
|
config.bind("N", "tab-next", mode="normal")
|
||||||
config.bind("E", "tab-prev", mode="normal")
|
config.bind("E", "tab-prev", mode="normal")
|
||||||
|
config.bind("<Ctrl-i>", "tab-next", mode="normal")
|
||||||
|
config.bind("<Ctrl-m>", "tab-prev", mode="normal")
|
||||||
config.bind("I", "forward", mode="normal")
|
config.bind("I", "forward", mode="normal")
|
||||||
config.bind("K", "bookmark-add", mode="normal")
|
config.bind("K", "bookmark-add", mode="normal")
|
||||||
config.bind("k", "quickmark-save", mode="normal")
|
config.bind("k", "quickmark-save", mode="normal")
|
||||||
config.bind("J", "search-prev", mode="normal")
|
config.bind("J", "search-prev", mode="normal")
|
||||||
config.bind("j", "search-next", mode="normal")
|
config.bind("j", "search-next", mode="normal")
|
||||||
|
config.bind("<Ctrl-/>", "hint links spawn --detach mpv {hint-url}")
|
||||||
sets = {
|
sets = {
|
||||||
"normal": [
|
"normal": [
|
||||||
["gm", "tab-focus 1"],
|
["gm", "tab-focus 1"],
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue