32 lines
806 B
Lua
32 lines
806 B
Lua
-- ~/.config/wezterm/wezterm.lua (or %USERPROFILE%\.config\wezterm\wezterm.lua on Windows)
|
|
|
|
local wezterm = require("wezterm")
|
|
local config = wezterm.config_builder()
|
|
|
|
-- Working directory
|
|
config.default_cwd = "C:\\Users\\wilmc\\git"
|
|
|
|
-- Shell: open VS2022 Developer Command Prompt
|
|
config.default_prog = {
|
|
"cmd.exe",
|
|
"/k",
|
|
"C:\\Program Files\\Microsoft Visual Studio\\18\\Community\\Common7\\Tools\\VsDevCmd.bat",
|
|
}
|
|
|
|
-- Window decorations
|
|
--config.window_decorations = "NONE"
|
|
|
|
-- Opacity
|
|
config.window_background_opacity = 0.8
|
|
|
|
-- Font
|
|
config.font = wezterm.font("JetBrainsMono Nerd Font", { weight = "Regular" })
|
|
|
|
-- Maximized on startup
|
|
--[[wezterm.on("gui-startup", function(cmd)
|
|
local _, _, window = wezterm.mux.spawn_window(cmd or {})
|
|
window:gui_window():maximize()
|
|
end)]]--
|
|
|
|
return config
|