Compare commits
No commits in common. "13bd3b37045b02795461aa794c3127a6df7fd55b" and "de2cc5ce0d12033303f39ad64c46ca6749a724b1" have entirely different histories.
13bd3b3704
...
de2cc5ce0d
24
wezterm.lua
24
wezterm.lua
@ -1,22 +1,15 @@
|
|||||||
local wezterm = require('wezterm')
|
local wezterm = require('wezterm')
|
||||||
local config = wezterm.config_builder()
|
local config = wezterm.config_builder()
|
||||||
|
|
||||||
wezterm.on('gui-startup', function()
|
config.default_prog = {
|
||||||
local tab, pane, window = wezterm.mux.spawn_window({})
|
'powershell.exe', '-ExecutionPolicy', 'Bypass', '-NoLogo', '-NoExit'
|
||||||
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 = wezterm.font('CaskaydiaCove Nerd Font Mono')
|
||||||
config.font_size = 9
|
config.font_size = 9
|
||||||
config.harfbuzz_features = { 'calt=0', 'clig=0', 'liga=0' }
|
config.harfbuzz_features = { 'calt=0', 'clig=0', 'liga=0' }
|
||||||
|
|
||||||
config.color_scheme = 'Firefly Traditional'
|
config.color_scheme = 'Tango (terminal.sexy)'
|
||||||
config.colors = {
|
config.colors = {
|
||||||
foreground = '#D3D7CF',
|
foreground = '#D3D7CF',
|
||||||
cursor_fg = 'black',
|
cursor_fg = 'black',
|
||||||
@ -82,13 +75,4 @@ for _, map in pairs({
|
|||||||
})
|
})
|
||||||
end
|
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
|
return config
|
||||||
|
Loading…
x
Reference in New Issue
Block a user