1
0
mirror of https://github.com/eoli3n/dotfiles synced 2024-11-22 06:51:58 +01:00

webgpu explicit config for wezterm

This commit is contained in:
eoli3n 2024-03-14 23:21:05 +01:00
parent a6720265e5
commit 3bddc3bcaa
2 changed files with 3 additions and 1 deletions

@ -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

@ -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 = {