Compare commits
No commits in common. "8381608e824eeb76359c3ee258f78043640079a0" and "98bfc58b21bb93687cd68e2d569f1a50788677a2" have entirely different histories.
8381608e82
...
98bfc58b21
@ -1,3 +1,3 @@
|
|||||||
# wezterm
|
# wezterm
|
||||||
|
|
||||||
Scripts I make for wezterm
|
Scripts I make for wezterm
|
@ -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
|
|
Loading…
x
Reference in New Issue
Block a user