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:
@@ -0,0 +1,50 @@
|
||||
-- ╭─────────────────────────────────────────────────────────╮
|
||||
-- │ WINDOW │
|
||||
-- ╰─────────────────────────────────────────────────────────╯
|
||||
|
||||
local opts = {
|
||||
-- Use Retro tab bar
|
||||
use_fancy_tab_bar = false,
|
||||
|
||||
-- Set the window padding
|
||||
window_padding = {
|
||||
left = "0%",
|
||||
right = "0%",
|
||||
top = "0%",
|
||||
bottom = "0%",
|
||||
},
|
||||
|
||||
-- Set the animation framerate
|
||||
animation_fps = 120,
|
||||
|
||||
-- Window Decorations
|
||||
window_decorations = "TITLE | RESIZE",
|
||||
|
||||
-- Visual Bell
|
||||
visual_bell = {
|
||||
fade_in_duration_ms = 75,
|
||||
fade_out_duration_ms = 75,
|
||||
target = "CursorColor",
|
||||
},
|
||||
|
||||
-- Audible Bell
|
||||
audible_bell = "SystemBeep",
|
||||
|
||||
-- Terminal Variable
|
||||
term = "wezterm",
|
||||
|
||||
--Honor kitty protocol inputs
|
||||
enable_kitty_keyboard = true,
|
||||
|
||||
-- Rendering
|
||||
front_end = "WebGpu",
|
||||
-- webgpu_power_preference = "HighPerformance",
|
||||
-- webgpu_power_preference = "LowPower",
|
||||
-- webgpu_preferred_adapter = gpus[1],
|
||||
-- front_end = "OpenGL",
|
||||
|
||||
-- Scrollback Lines
|
||||
scrollback_lines = 20000,
|
||||
}
|
||||
|
||||
return opts
|
||||
Reference in New Issue
Block a user