Add wezterm setup
This commit is contained in:
parent
ceaec45f54
commit
76f102b21d
7 changed files with 87 additions and 68 deletions
22
templates/wezterm/wezterm.lua.j2
Normal file
22
templates/wezterm/wezterm.lua.j2
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
-- {{ ansible_managed }}
|
||||
|
||||
local wezterm = require 'wezterm';
|
||||
local config = wezterm.config_builder();
|
||||
|
||||
config.term = 'wezterm';
|
||||
|
||||
local modules = {
|
||||
'colors',
|
||||
'fonts',
|
||||
'window',
|
||||
}
|
||||
|
||||
for _, module_name in pairs(modules) do
|
||||
local module_path = string.format('includes.%s', module_name)
|
||||
local module = require(module_path)
|
||||
for key, value in pairs(module) do
|
||||
config[key] = value;
|
||||
end
|
||||
end
|
||||
|
||||
return config
|
||||
Loading…
Add table
Add a link
Reference in a new issue