diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c6435ec..3ef061c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -6,7 +6,7 @@ repos: - id: trailing-whitespace args: [--markdown-linebreak-ext=md] - repo: https://github.com/shellcheck-py/shellcheck-py - rev: v0.7.2.1 + rev: v0.9.0.6 hooks: - id: shellcheck - repo: local diff --git a/roles/wezterm/templates/wezterm.lua.j2 b/roles/wezterm/templates/wezterm.lua.j2 index 4090ace..5c4b7f9 100644 --- a/roles/wezterm/templates/wezterm.lua.j2 +++ b/roles/wezterm/templates/wezterm.lua.j2 @@ -17,6 +17,8 @@ config.font_rules = { config.font_size = 10.0 config.hide_tab_bar_if_only_one_tab = true config.default_cursor_style = 'BlinkingBar' +local gpus = wezterm.gui.enumerate_gpus() +config.webgpu_preferred_adapter = gpus[1] config.front_end = "WebGpu" config.colors = {