1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
c = c
config = config
c.url.searchengines = {
"DEFAULT": "https://duckduckgo.com/?q={}",
"!aw": "https://wiki.archlinux.org/?search={}",
"!apkg": "https://archlinux.org/packages/?sort=&q={}&maintainer=&flagged=",
"!aur": "https://aur.archlinux.org/packages?O=0&SeB=nd&K={}&outdated=&SB=p&SO=d&PP=50&submit=Go",
"!gh": "https://github.com/search?o=desc&q={}&s=stars",
"!yt": "https://www.youtube.com/results?search_query={}",
}
c.completion.open_categories = [
"searchengines",
"quickmarks",
"bookmarks",
"history",
"filesystem",
]
config.load_autoconfig() # load settings done via the gui
config.bind(
"zl",
"spawn --userscript qute-pass --username-pattern='login: (.*)' --username-target=secret",
)
config.bind(
"zul",
"spawn --userscript qute-pass --username-only --username-pattern='login: (.*)' --username-target=secret",
)
config.bind(
"zpl",
"spawn --userscript qute-pass --password-only --username-pattern='login: (.*)' --username-target=secret",
)
config.bind(
"zol",
"spawn --userscript qute-pass --otp-only --username-pattern='login: (.*)' --username-target=secret",
)
c.editor.command = ["alacritty", "-e", "nvim", "{file}", "-c", "normal {line}G{column}"]
# NOTE: to make Slack sign-in work:
# c.content.unknown_url_scheme_policy = "allow-all"
c.content.blocking.enabled = True
c.content.blocking.method = "adblock"
# c.content.blocking.adblock.lists = [
# "https://github.com/uBlockOrigin/uAssets/raw/master/filters/legacy.txt",
# "https://github.com/uBlockOrigin/uAssets/raw/master/filters/filters.txt",
# "https://github.com/uBlockOrigin/uAssets/raw/master/filters/filters-2020.txt",
# "https://github.com/uBlockOrigin/uAssets/raw/master/filters/filters-2021.txt",
# "https://github.com/uBlockOrigin/uAssets/raw/master/filters/filters-2022.txt",
# "https://github.com/uBlockOrigin/uAssets/raw/master/filters/filters-2023.txt",
# "https://github.com/uBlockOrigin/uAssets/raw/master/filters/filters-2024.txt",
# "https://github.com/uBlockOrigin/uAssets/raw/master/filters/filters-2025.txt",
# "https://github.com/uBlockOrigin/uAssets/raw/master/filters/badware.txt",
# "https://github.com/uBlockOrigin/uAssets/raw/master/filters/privacy.txt",
# "https://github.com/uBlockOrigin/uAssets/raw/master/filters/badlists.txt",
# "https://github.com/uBlockOrigin/uAssets/raw/master/filters/annoyances.txt",
# "https://github.com/uBlockOrigin/uAssets/raw/master/filters/annoyances-cookies.txt",
# "https://github.com/uBlockOrigin/uAssets/raw/master/filters/annoyances-others.txt",
# "https://github.com/uBlockOrigin/uAssets/raw/master/filters/badlists.txt",
# "https://github.com/uBlockOrigin/uAssets/raw/master/filters/quick-fixes.txt",
# "https://github.com/uBlockOrigin/uAssets/raw/master/filters/resource-abuse.txt",
# "https://github.com/uBlockOrigin/uAssets/raw/master/filters/unbreak.txt",
# ]
|