mirror of
https://github.com/d0zingcat/dotfiles.git
synced 2026-05-30 07:26:52 +00:00
init
This commit is contained in:
40
wezterm/wezterm.lua
Normal file
40
wezterm/wezterm.lua
Normal file
@@ -0,0 +1,40 @@
|
||||
local wezterm = require('wezterm')
|
||||
return {
|
||||
font_size = 14,
|
||||
font = wezterm.font_with_fallback({
|
||||
'JetBrains Mono',
|
||||
'JetBrainsMono Nerd Font Mono',
|
||||
}),
|
||||
colors = {
|
||||
tab_bar = {
|
||||
active_tab = {
|
||||
bg_color = '#24283b',
|
||||
fg_color = '#c0caf5',
|
||||
},
|
||||
},
|
||||
},
|
||||
color_scheme = 'tokyonight',
|
||||
window_frame = {
|
||||
font_size = 14.0,
|
||||
},
|
||||
window_padding = {
|
||||
left = 5,
|
||||
right = 5,
|
||||
top = 0,
|
||||
bottom = 0,
|
||||
},
|
||||
foreground_text_hsb = {
|
||||
hue = 1.0,
|
||||
saturation = 1.0,
|
||||
brightness = 1.2,
|
||||
},
|
||||
use_ime = true, -- fix Chinese
|
||||
skip_close_confirmation_for_processes_named = {
|
||||
'fzf',
|
||||
'zsh',
|
||||
'fzf',
|
||||
},
|
||||
keys = {
|
||||
{ key = 'w', mods = 'CMD', action = wezterm.action({ CloseCurrentTab = { confirm = false } }) },
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user