qutebrowser: update config to 2.3.0; lite-xl: additional font config

This commit is contained in:
FollieHiyuki 2021-06-28 18:51:38 +03:00
parent f7b271fc59
commit b2ad295899
No known key found for this signature in database
GPG Key ID: 813CF484F4993419
4 changed files with 30 additions and 5 deletions

View File

@ -18,11 +18,21 @@ keymap.add { ["ctrl+q"] = "core:quit" }
------------------------------- Fonts ----------------------------------------
-- customize fonts:
style.font = renderer.font.load(HOME .. "/.local/share/fonts/Comic/ComicRelief.ttf", 14 * SCALE)
style.big_font = renderer.font.load(HOME .. "/.local/share/fonts/Comic/ComicRelief.ttf", 16 * SCALE)
style.code_font = renderer.font.load(HOME .. "/.local/share/fonts/Comic/ComicMono.ttf", 16 * SCALE)
style.icon_font = renderer.font.load("/usr/share/lite-xl/fonts/icons.ttf", 18 * SCALE)
style.icon_big_font = renderer.font.load("/usr/share/lite-xl/fonts/icons.ttf", 24 * SCALE)
style.font = renderer.font.load(HOME .. "/.local/share/fonts/Comic/ComicMono.ttf", 14 * SCALE)
style.big_font = renderer.font.load(HOME .. "/.local/share/fonts/Comic/ComicMono.ttf", 16 * SCALE)
style.code_font = renderer.font.load(HOME .. "/.config/lite-xl/fonts/iosevka-ss14-regular.ttf", 14 * SCALE)
style.icon_font = renderer.font.load("/usr/local/share/lite-xl/fonts/icons.ttf", 18 * SCALE)
style.icon_big_font = renderer.font.load("/usr/local/share/lite-xl/fonts/icons.ttf", 24 * SCALE)
local italic = renderer.font.load(HOME .. "/.config/lite-xl/fonts/iosevka-ss14-italic.ttf", 14 * SCALE)
style.syntax_fonts["comment"] = italic
local bolditalic = renderer.font.load(HOME .. "/.config/lite-xl/fonts/iosevka-ss14-bolditalic.ttf", 14 * SCALE)
style.syntax_fonts["keyword"] = bolditalic
style.syntax_fonts["keyword2"] = bolditalic
local bold = renderer.font.load(HOME .. "/.config/lite-xl/fonts/iosevka-ss14-bold.ttf", 14 * SCALE)
style.syntax_fonts["function"] = bold
--
-- font names used by lite:
-- style.font : user interface

View File

@ -161,6 +161,9 @@ c.colors.prompts.bg = base00
# Background color for the selected item in filename prompts.
c.colors.prompts.selected.bg = base02
# Foreground color for the selected item in filename prompts.
c.colors.prompts.selected.fg = base06
# Foreground color of the statusbar.
c.colors.statusbar.normal.fg = base0B

View File

@ -161,6 +161,9 @@ c.colors.prompts.bg = base00
# Background color for the selected item in filename prompts.
c.colors.prompts.selected.bg = base02
# Foreground color for the selected item in filename prompts.
c.colors.prompts.selected.fg = base06
# Foreground color of the statusbar.
c.colors.statusbar.normal.fg = base0B

View File

@ -88,9 +88,18 @@ c.content.mouse_lock = False
# No notification
c.content.notifications.enabled = False
# No request for persistent storage
c.content.persistent_storage = False
# Reduce animation
c.content.prefers_reduced_motion = True
# Incognito
c.content.private_browsing = True
# Don't allow to register protocol handlers
c.content.register_protocol_handler = False
# SSL
c.content.tls.certificate_errors = 'ask-block-thirdparty'