wezterm: switch config to native lua
All checks were successful
flake check / check (push) Successful in 3m35s
fmt check / check (push) Successful in 41s

This commit is contained in:
notohh 2023-11-14 21:40:30 -05:00
parent 160107921e
commit 62d18067fd
Signed by: notohh
GPG key ID: BD47506D475EE86D
2 changed files with 20 additions and 26 deletions

19
home/wezterm/config.lua Normal file
View file

@ -0,0 +1,19 @@
local wezterm = require 'wezterm'
return {
front_end = "WebGpu",
webgpu_preferred_adapter = {
backend = "Vulkan",
device_type = "DiscreteGpu",
name = "NVIDIA GeForce GTX 1070 Ti"
},
enable_wayland = false,
font = wezterm.font 'Comic Code Ligatures',
font_size = 12.0,
window_background_opacity = 0.6,
text_background_opacity = 1.0,
enable_tab_bar = false,
color_scheme = 'Catppuccin Mocha',
window_padding = {top = 0, bottom = 0, left = 0, right = 0}
}

View file

@ -1,31 +1,6 @@
_: { _: {
programs.wezterm = { programs.wezterm = {
enable = true; enable = true;
extraConfig = '' extraConfig = builtins.readFile ./config.lua;
local wezterm = require 'wezterm'
return {
front_end = "WebGpu",
webgpu_preferred_adapter = {
backend="Vulkan",
device_type="DiscreteGpu",
name="NVIDIA GeForce GTX 1070 Ti"
},
enable_wayland = false,
font = wezterm.font 'Comic Code Ligatures',
font_size = 12.0,
window_background_opacity = 0.6,
text_background_opacity = 1.0,
enable_tab_bar = false,
color_scheme = 'Catppuccin Mocha',
window_padding = {
top = 0,
bottom = 0,
left = 0,
right = 0,
}
}
'';
}; };
} }