Compare commits

..

1 Commits

Author SHA1 Message Date
rhpidfyre 98bfc58b21 Initial commit 2025-03-13 00:56:17 +00:00
2 changed files with 1 additions and 20 deletions
+1 -1
View File
@@ -1,3 +1,3 @@
# wezterm
Scripts I make for wezterm
Scripts I make for wezterm
-19
View File
@@ -1,19 +0,0 @@
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