qutebrowser config, qute-bitwarden modification
This commit is contained in:
@@ -4,3 +4,4 @@
|
|||||||
(package! modus-themes)
|
(package! modus-themes)
|
||||||
(package! quelpa)
|
(package! quelpa)
|
||||||
(package! quelpa-use-package)
|
(package! quelpa-use-package)
|
||||||
|
(package! w3m)
|
||||||
|
|||||||
@@ -9,17 +9,17 @@ config.load_autoconfig()
|
|||||||
dracula.draw.blood(c, {"spacing": {"vertical": 6, "horizontal": 8}})
|
dracula.draw.blood(c, {"spacing": {"vertical": 6, "horizontal": 8}})
|
||||||
|
|
||||||
|
|
||||||
def intercept(info: interceptor.Request):
|
# def intercept(info: interceptor.Request):
|
||||||
if info.request_url.host() == "youtube.com":
|
# if info.request_url.host() == "youtube.com":
|
||||||
new_url = QUrl(info.request_url)
|
# new_url = QUrl(info.request_url)
|
||||||
new_url.setHost("vid.puffyan.us")
|
# new_url.setHost("vid.puffyan.us")
|
||||||
try:
|
# try:
|
||||||
info.redirect(new_url)
|
# info.redirect(new_url)
|
||||||
except interceptor.interceptors.RedirectException:
|
# except interceptor.interceptors.RedirectException:
|
||||||
pass
|
# pass
|
||||||
|
|
||||||
|
|
||||||
interceptor.register(intercept)
|
# interceptor.register(intercept)
|
||||||
|
|
||||||
c.qt.highdpi = True
|
c.qt.highdpi = True
|
||||||
c.fonts.default_size = "15pt"
|
c.fonts.default_size = "15pt"
|
||||||
|
|||||||
@@ -280,6 +280,7 @@ def main(arguments):
|
|||||||
c["login"]["username"] = ""
|
c["login"]["username"] = ""
|
||||||
|
|
||||||
choices.append("{:s} | {:s}".format(c["name"], c["login"]["username"]))
|
choices.append("{:s} | {:s}".format(c["name"], c["login"]["username"]))
|
||||||
|
|
||||||
# choices = [
|
# choices = [
|
||||||
# "{:s} | {:s}".format(c["name"], c["login"]["username"]) for c in candidates
|
# "{:s} | {:s}".format(c["name"], c["login"]["username"]) for c in candidates
|
||||||
# ]
|
# ]
|
||||||
|
|||||||
Reference in New Issue
Block a user