feat: Add user customization and refactor for readability

- Add user customization via automatically detected user.lua file
- Reorganize config options into separate files
- Reorganize plugin loaders into separate files
This commit is contained in:
2024-10-04 10:11:16 -04:00
parent c44e4985d2
commit 65917d380a
10 changed files with 286 additions and 167 deletions
+39
View File
@@ -0,0 +1,39 @@
-- ╭─────────────────────────────────────────────────────────╮
-- │ FONT │
-- ╰─────────────────────────────────────────────────────────╯
-- Load WezTerm module
local wezterm = WEZTERM
local types = require("types")
local opts = {
-- Terminal Font Size
font_size = 12.0,
-- Terminal Font
font = wezterm.font_with_fallback(types.rootiest_font),
-- Cell Sizing
cell_width = 1.0,
line_height = 1.0,
-- ANSI Colors
bold_brightens_ansi_colors = "BrightAndBold",
-- FreeType Load Flags
freetype_load_flags = "DEFAULT",
-- FreeType Load Target
freetype_load_target = "Normal",
-- Default Cursor Shape
default_cursor_style = "BlinkingBar",
-- Set the initial size
initial_cols = 180,
initial_rows = 38,
tab_max_width = 60,
tab_bar_at_bottom = false,
unicode_version = 14,
-- Resize by cell
use_resize_increments = true,
}
return opts