Update terminal info

This commit is contained in:
april 2024-01-23 21:08:01 -06:00
parent 202fc23dcb
commit 062bfb1e1b

View File

@ -0,0 +1,75 @@
-- Pull in the wezterm API
local wezterm = require 'wezterm'
-- This table will hold the configuration.
local config = {}
-- In newer versions of wezterm, use the config_builder which will
-- help provide clearer error messages
if wezterm.config_builder then
config = wezterm.config_builder()
end
-- This is where you actually apply your config choices
config.enable_scroll_bar=true
config.use_fancy_tab_bar=true
config.hide_tab_bar_if_only_one_tab=true
config.initial_cols=120
config.initial_rows=35
config.colors = {
scrollbar_thumb = '#666666',
}
config.window_background_opacity = 0.95
config.warn_about_missing_glyphs=false
-- For example, changing the color scheme:
-- config.color_scheme = 'Catppuccin Mocha'
config.color_scheme = "Gigavolt (base16)"
config.font = wezterm.font({
family='MonaspiceNe Nerd Font',
weight='Regular',
harfbuzz_features={ 'calt', 'liga', 'dlig', 'ss01', 'ss02', 'ss03', 'ss04', 'ss05', 'ss06', 'ss07', 'ss08' },
})
config.font_rules = {
{ -- Italic
intensity = 'Normal',
italic = true,
font = wezterm.font({
-- family="MonaspiceRa Nerd Font", -- script style
family='MonaspiceXe Nerd Font', -- courier-like
style = 'Italic',
})
},
{ -- Bold
intensity = 'Bold',
italic = false,
font = wezterm.font( {
family='MonaspiceKr Nerd Font',
family='MonaspiceKr Nerd Font',
-- weight='ExtraBold',
weight='Bold',
})
},
{ -- Bold Italic
intensity = 'Bold',
italic = true,
font = wezterm.font( {
family='MonaspiceXe Nerd Font',
style='Italic',
weight='Bold',
}
)
},
}
-- and finally, return the configuration to wezterm
return config