56 lines
1.2 KiB
Lua
56 lines
1.2 KiB
Lua
local wezterm = require("wezterm")
|
|
local config = {}
|
|
local act = wezterm.action
|
|
local os_name = os.getenv("OS")
|
|
<<<<<<< Updated upstream
|
|
||||||| Stash base
|
|
=======
|
|
|
|
if os_name and os_name:lower():find("windows") then
|
|
config.default_prog = { "pwsh.exe" }
|
|
else
|
|
config.default_prog = { "/usr/bin/fish" }
|
|
end
|
|
>>>>>>> Stashed changes
|
|
|
|
<<<<<<< Updated upstream
|
|
if os_name and os_name:lower():find("windows") then
|
|
config.default_prog = { "pwsh.exe" }
|
|
else
|
|
config.default_prog = { "/usr/bin/fish" }
|
|
end
|
|
||||||| Stash base
|
|
config.default_prog = { "/usr/bin/fish" }
|
|
=======
|
|
>>>>>>> Stashed changes
|
|
config.default_cwd = "~"
|
|
config.initial_rows = 36
|
|
config.initial_cols = 132
|
|
config.scrollback_lines = 10000
|
|
|
|
config.font = wezterm.font({
|
|
family = "Fira Code",
|
|
weight = "Regular",
|
|
harfbuzz_features = { "calt=0", "clig=0", "liga=0" },
|
|
})
|
|
config.font_size = 10.0
|
|
config.color_scheme = "Gruvbox Dark (Gogh)"
|
|
config.hide_tab_bar_if_only_one_tab = false
|
|
|
|
config.window_frame = {
|
|
font = wezterm.font({ family = "Fira Code", weight = "Bold" }),
|
|
font_size = 10.0,
|
|
}
|
|
|
|
config.keys = {
|
|
{
|
|
key = "t",
|
|
mods = "CTRL|SHIFT",
|
|
action = act.SpawnCommandInNewTab({
|
|
cwd = wezterm.home_dir,
|
|
}),
|
|
},
|
|
}
|
|
|
|
return config
|