Compare commits

..

3 Commits

Author SHA1 Message Date
rhpidfyre 8381608e82 add src/config/wezterm.lua 2025-03-12 20:58:03 -04:00
rhpidfyre a26b013547 README 2025-03-12 20:57:57 -04:00
rhpidfyre c7980c11e2 LICENSE 2025-03-12 20:57:55 -04:00
2 changed files with 20 additions and 1 deletions
+1 -1
View File
@@ -1,3 +1,3 @@
# wezterm
Scripts I make for wezterm
Scripts I make for wezterm
+19
View File
@@ -0,0 +1,19 @@
local wezterm = require("wezterm")
local config = {}
config.font = wezterm.font("Intel One Mono")
function ConfigureGraphics(gpu)
config.front_end = "WebGpu"
config.webgpu_power_preference = "HighPerformance"
config.webgpu_preferred_adapter = gpu
end
for _, gpu in next, wezterm.gui.enumerate_gpus() do
if gpu.backend == "Vulkan" and gpu.device_type == "DiscreteGpu" then
ConfigureGraphics(gpu)
break
end
end
return config