Wezterm config_builder
This commit is contained in:
parent
3cdbe48382
commit
9e7bffd58d
1 changed files with 55 additions and 45 deletions
|
@ -1,10 +1,17 @@
|
||||||
local wezterm = require 'wezterm';
|
local wezterm = require 'wezterm';
|
||||||
|
|
||||||
return {
|
-- Allow working with both the current release and the nightly
|
||||||
font = wezterm.font_with_fallback({
|
local config = {}
|
||||||
|
if wezterm.config_builder then
|
||||||
|
config = wezterm.config_builder()
|
||||||
|
end
|
||||||
|
|
||||||
|
|
||||||
|
config.font = wezterm.font_with_fallback({
|
||||||
{family="Iosevka Custom", weight="Medium"},
|
{family="Iosevka Custom", weight="Medium"},
|
||||||
}),
|
})
|
||||||
font_rules = {
|
|
||||||
|
config.font_rules = {
|
||||||
{
|
{
|
||||||
italic = true,
|
italic = true,
|
||||||
font = wezterm.font_with_fallback({
|
font = wezterm.font_with_fallback({
|
||||||
|
@ -13,16 +20,18 @@ return {
|
||||||
}
|
}
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
},
|
}
|
||||||
font_size = 15.0,
|
|
||||||
|
config.font_size = 15.0
|
||||||
-- wayland?
|
-- wayland?
|
||||||
enable_wayland = true,
|
config.enable_wayland = true
|
||||||
-- TERM name
|
-- TERM name
|
||||||
term = "xterm-256color",
|
config.term = "xterm-256color"
|
||||||
|
|
||||||
-- Color Scheme(s)
|
-- Color Scheme(s)
|
||||||
color_scheme = "Hopscotch.256",
|
-- config.color_scheme = "Hopscotch.256"
|
||||||
color_schemes = {
|
config.color_scheme = "Everblush"
|
||||||
|
config.color_schemes = {
|
||||||
["Corvine"] = {
|
["Corvine"] = {
|
||||||
background = "#262626",
|
background = "#262626",
|
||||||
foreground = "#c6c6c6",
|
foreground = "#c6c6c6",
|
||||||
|
@ -42,9 +51,10 @@ return {
|
||||||
ansi = {"#1b2b34", "#ec5f67", "#99c794", "#fac863", "#6699cc", "#c594c5", "#5fb3b3", "#c0c5ce"},
|
ansi = {"#1b2b34", "#ec5f67", "#99c794", "#fac863", "#6699cc", "#c594c5", "#5fb3b3", "#c0c5ce"},
|
||||||
brights = {"#65737e", "#ec5f67", "#99c794" ,"#fac863", "#6699cc", "#c594c5", "#5fb3b3", "#d8dee9"}
|
brights = {"#65737e", "#ec5f67", "#99c794" ,"#fac863", "#6699cc", "#c594c5", "#5fb3b3", "#d8dee9"}
|
||||||
},
|
},
|
||||||
},
|
}
|
||||||
|
|
||||||
-- Tab Bar
|
-- Tab Bar
|
||||||
enable_tab_bar = true,
|
config.enable_tab_bar = true
|
||||||
hide_tab_bar_if_only_one_tab = true,
|
config.hide_tab_bar_if_only_one_tab = true
|
||||||
}
|
|
||||||
|
return config
|
||||||
|
|
Loading…
Add table
Reference in a new issue