feat(window): tweak window settings and renderer

This commit is contained in:
2025-03-19 21:01:35 -04:00
parent 13cb45d806
commit 1ce60ecccd
+12 -3
View File
@@ -14,11 +14,20 @@ local opts = {
bottom = "0%", bottom = "0%",
}, },
window_content_alignment = {
horizontal = "Center",
vertical = "Center",
},
-- Set the animation framerate -- Set the animation framerate
animation_fps = 120, animation_fps = 120,
cursor_blink_rate = 800,
cursor_blink_ease_in = "EaseIn",
cursor_blink_ease_out = "EaseOut",
max_fps = 170,
-- Wayland -- Wayland
--enable_wayland = false, enable_wayland = true,
-- Window Decorations -- Window Decorations
window_decorations = "TITLE | RESIZE", window_decorations = "TITLE | RESIZE",
@@ -56,7 +65,7 @@ local opts = {
audible_bell = "SystemBeep", audible_bell = "SystemBeep",
-- Terminal Variable -- Terminal Variable
-- term = "wezterm", term = "wezterm",
--Honor kitty protocol inputs --Honor kitty protocol inputs
enable_kitty_keyboard = true, enable_kitty_keyboard = true,
@@ -64,7 +73,7 @@ local opts = {
-- Rendering -- Rendering
front_end = "WebGpu", front_end = "WebGpu",
-- webgpu_power_preference = "HighPerformance", -- webgpu_power_preference = "HighPerformance",
-- webgpu_power_preference = "LowPower", webgpu_power_preference = "LowPower",
-- webgpu_preferred_adapter = gpus[1], -- webgpu_preferred_adapter = gpus[1],
-- front_end = "OpenGL", -- front_end = "OpenGL",