dotfiles/.config/wezterm/wezterm.lua
2024-01-24 09:27:27 -06:00

78 lines
1.8 KiB
Lua

-- 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 "JetBrainsMono Nerd Font"
-- 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