feat: set webgpu preferred adapter with custom settings
This commit is contained in:
+42
-4
@@ -7,14 +7,52 @@ return {
|
|||||||
initial_cols = 180,
|
initial_cols = 180,
|
||||||
initial_rows = 38,
|
initial_rows = 38,
|
||||||
|
|
||||||
|
tab_max_width = 60,
|
||||||
|
|
||||||
|
-- Resize by cell
|
||||||
|
use_resize_increments = true,
|
||||||
|
|
||||||
|
-- Use Retro tab bar
|
||||||
|
use_fancy_tab_bar = false,
|
||||||
|
|
||||||
|
-- Prefer to spawn tabs rather than windows
|
||||||
|
prefer_to_spawn_tabs = true,
|
||||||
|
|
||||||
-- Set the window padding
|
-- Set the window padding
|
||||||
window_padding = {
|
window_padding = {
|
||||||
left = 0,
|
left = "0%",
|
||||||
right = 0,
|
right = "0%",
|
||||||
top = 10,
|
top = "0%",
|
||||||
bottom = 0,
|
bottom = "0%",
|
||||||
},
|
},
|
||||||
|
|
||||||
-- Set the animation framerate
|
-- Set the animation framerate
|
||||||
animation_fps = 120,
|
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",
|
||||||
|
webgpu_preferred_adapter = {
|
||||||
|
backend = "Vulkan",
|
||||||
|
device = 7954,
|
||||||
|
device_type = "DiscreteGpu",
|
||||||
|
driver = "NVIDIA",
|
||||||
|
driver_info = "560.35.03",
|
||||||
|
name = "NVIDIA GeForce RTX 2060 with Max-Q Design",
|
||||||
|
vendor = 4318,
|
||||||
|
},
|
||||||
|
-- Scrollback Lines
|
||||||
|
scrollback_lines = 20000,
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user