mirror of
https://github.com/eoli3n/dotfiles
synced 2024-11-22 23:12:32 +01:00
59 lines
1.2 KiB
Django/Jinja
59 lines
1.2 KiB
Django/Jinja
local wezterm = require 'wezterm'
|
|
local config = {}
|
|
|
|
config.font = wezterm.font {
|
|
family = 'jetbrains mono light'
|
|
}
|
|
config.font_rules = {
|
|
{
|
|
intensity = 'Bold',
|
|
italic = false,
|
|
font = wezterm.font {
|
|
family = 'jetbrains mono light',
|
|
}
|
|
}
|
|
}
|
|
|
|
config.font_size = 10.0
|
|
config.hide_tab_bar_if_only_one_tab = true
|
|
config.default_cursor_style = 'BlinkingBar'
|
|
local gpus = wezterm.gui.enumerate_gpus()
|
|
config.webgpu_preferred_adapter = gpus[1]
|
|
config.front_end = "WebGpu"
|
|
|
|
config.colors = {
|
|
foreground = '{{ color7 }}',
|
|
background = '#202020',
|
|
cursor_bg = '{{ color7 }}',
|
|
cursor_border = '{{ color7 }}',
|
|
selection_fg = 'black',
|
|
selection_bg = '{{ color3 }}',
|
|
ansi = {
|
|
'{{ color0 }}',
|
|
'{{ color1 }}',
|
|
'{{ color2 }}',
|
|
'{{ color3 }}',
|
|
'{{ color4 }}',
|
|
'{{ color5 }}',
|
|
'{{ color6 }}',
|
|
'{{ color7 }}',
|
|
},
|
|
brights = {
|
|
'{{ color8}}',
|
|
'{{ color9 }}',
|
|
'{{ color10 }}',
|
|
'{{ color11 }}',
|
|
'{{ color12 }}',
|
|
'{{ color13 }}',
|
|
'{{ color14 }}',
|
|
'{{ color15 }}',
|
|
},
|
|
}
|
|
|
|
config.window_background_opacity = 0.9
|
|
config.text_background_opacity = 1
|
|
|
|
config.window_close_confirmation = 'NeverPrompt'
|
|
config.hyperlink_rules = wezterm.default_hyperlink_rules()
|
|
return config
|