update wezterm

This commit is contained in:
xfy
2024-09-11 09:43:55 +08:00
parent 1157839a74
commit 804ecf8bd5
2 changed files with 8 additions and 6 deletions

View File

@ -5,3 +5,5 @@ end_of_line = lf
insert_final_newline = true insert_final_newline = true
trim_trailing_whitespace = true trim_trailing_whitespace = true
charset = utf-8 charset = utf-8
indent_size = 4
indent_style = space

View File

@ -1,18 +1,18 @@
local wezterm = require 'wezterm' local wezterm = require("wezterm")
local config = wezterm.config_builder() local config = wezterm.config_builder()
config.font = wezterm.font 'JetBrainsMono Nerd Font' config.font = wezterm.font("JetBrainsMono Nerd Font")
--[[ config.default_prog = { "C:\\Users\\xfy\\AppData\\Local\\Microsoft\\WindowsApps\\pwsh.exe" } ]] --[[ config.default_prog = { "C:\\Users\\xfy\\AppData\\Local\\Microsoft\\WindowsApps\\pwsh.exe" } ]]
-- ui -- ui
--[[ config.initial_rows = 50 ]] --[[ config.initial_rows = 50 ]]
--[[ config.initial_cols = 198 ]] --[[ config.initial_cols = 198 ]]
config.window_padding = { config.window_padding = {
left = 0, left = 0,
right = 0, right = 0,
top = 0, top = 0,
bottom = 0, bottom = 0,
} }
config.window_decorations = "NONE" config.window_decorations = "NONE"
config.window_background_opacity = 0.97 config.window_background_opacity = 0.97