37 lines
1023 B
Lua
37 lines
1023 B
Lua
-- need to to set env var WEZTERM_CONFIG_FILE to this file
|
|
--FOR THE THE LOVE OF GOD READ THIS DAVE
|
|
local wezterm = require("wezterm")
|
|
local config = wezterm.config_builder()
|
|
-- workspace dir default
|
|
config.default_cwd = "C:/Users/support/Desktop/workspace"
|
|
-- default term prog can be changed with cli args
|
|
config.default_prog = { "C:/Program Files/PowerShell/7/pwsh.exe" , '-nologo'}
|
|
|
|
--styles
|
|
config.harfbuzz_features = { "calt=0", "clig=0", "liga=0" }
|
|
config.font = wezterm.font("JetBrains Mono", { weight = "Bold" })
|
|
config.color_scheme = "Sakura"
|
|
config.window_padding = {
|
|
left = "0.5cell",
|
|
right = "0.5cell",
|
|
top = "0cell",
|
|
bottom = "0cell",
|
|
}
|
|
|
|
--window size
|
|
config.initial_rows = 32
|
|
config.initial_cols = 129
|
|
|
|
--tansparent
|
|
config.window_background_opacity = 0.8
|
|
config.text_background_opacity = 0.2
|
|
|
|
--key map
|
|
local act = wezterm.action
|
|
config.keys = {
|
|
{ key = "l", mods = "ALT", action = act.ActivateTabRelative(1) },
|
|
{ key = "h", mods = "ALT", action = act.ActivateTabRelative(-1) },
|
|
}
|
|
|
|
return config
|