mirror of
https://git.disroot.org/FollieHiyuki/dotfiles.git
synced 2024-12-03 12:48:28 -05:00
qutebrowser: update config to 2.3.0; lite-xl: additional font config
This commit is contained in:
parent
c41e298a1b
commit
4bf240e8e6
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user