Compare commits
3 Commits
de2cc5ce0d
...
13bd3b3704
Author | SHA1 | Date | |
---|---|---|---|
13bd3b3704 | |||
cc01130c63 | |||
3b661354ca |
24
wezterm.lua
24
wezterm.lua
@ -1,15 +1,22 @@
|
||||
local wezterm = require('wezterm')
|
||||
local config = wezterm.config_builder()
|
||||
|
||||
config.default_prog = {
|
||||
'powershell.exe', '-ExecutionPolicy', 'Bypass', '-NoLogo', '-NoExit'
|
||||
}
|
||||
wezterm.on('gui-startup', function()
|
||||
local tab, pane, window = wezterm.mux.spawn_window({})
|
||||
tab:set_title('home')
|
||||
end)
|
||||
|
||||
if string.find(wezterm.target_triple, 'windows') then
|
||||
config.default_prog = {
|
||||
'powershell.exe', '-ExecutionPolicy', 'Bypass', '-NoLogo', '-NoExit'
|
||||
}
|
||||
end
|
||||
|
||||
config.font = wezterm.font('CaskaydiaCove Nerd Font Mono')
|
||||
config.font_size = 9
|
||||
config.harfbuzz_features = { 'calt=0', 'clig=0', 'liga=0' }
|
||||
|
||||
config.color_scheme = 'Tango (terminal.sexy)'
|
||||
config.color_scheme = 'Firefly Traditional'
|
||||
config.colors = {
|
||||
foreground = '#D3D7CF',
|
||||
cursor_fg = 'black',
|
||||
@ -75,4 +82,13 @@ for _, map in pairs({
|
||||
})
|
||||
end
|
||||
|
||||
-- Attempt require(module) load a module, don't fail if its missing.
|
||||
-- Additionally, call the returned function passing in the wezterm and config
|
||||
-- objects defined in this file.
|
||||
local try_require = function(module)
|
||||
pcall(function() require(module)(wezterm, config) end)
|
||||
end;
|
||||
|
||||
try_require('local')
|
||||
|
||||
return config
|
||||
|
Loading…
x
Reference in New Issue
Block a user