1
0
mirror of https://github.com/eoli3n/dotfiles synced 2024-11-22 15:01:59 +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 - id: trailing-whitespace
args: [--markdown-linebreak-ext=md] args: [--markdown-linebreak-ext=md]
- repo: https://github.com/shellcheck-py/shellcheck-py - repo: https://github.com/shellcheck-py/shellcheck-py
rev: v0.7.2.1 rev: v0.9.0.6
hooks: hooks:
- id: shellcheck - id: shellcheck
- repo: local - repo: local

@ -17,6 +17,8 @@ config.font_rules = {
config.font_size = 10.0 config.font_size = 10.0
config.hide_tab_bar_if_only_one_tab = true config.hide_tab_bar_if_only_one_tab = true
config.default_cursor_style = 'BlinkingBar' config.default_cursor_style = 'BlinkingBar'
local gpus = wezterm.gui.enumerate_gpus()
config.webgpu_preferred_adapter = gpus[1]
config.front_end = "WebGpu" config.front_end = "WebGpu"
config.colors = { config.colors = {