This commit is contained in:
Fabian Becker 2023-12-10 16:16:47 +01:00
parent aa9c3bd488
commit 33031165b5

View File

@ -1,4 +1,11 @@
local wezterm = require"wezterm" local wezterm = require"wezterm"
local mux = wezterm.mux
local act = wezterm.action
wezterm.on('gui-startup', function()
local tab, pane, window = mux.spawn_window({})
window:gui_window():maximize()
end)
return { return {
-- Font settings -- Font settings
@ -12,8 +19,21 @@ return {
-- Tab bar -- Tab bar
show_tab_index_in_tab_bar = false, show_tab_index_in_tab_bar = false,
hide_tab_bar_if_only_one_tab = true, hide_tab_bar_if_only_one_tab = true,
adjust_window_size_when_changing_font_size = false,
-- Window look -- Window look
window_decorations = "RESIZE", window_decorations = "RESIZE",
-- Wayland -- Wayland
enable_wayland = true, enable_wayland = true,
inactive_pane_hsb = {
saturation = 0.8,
brightness = 0.7
},
window_frame = {
font = wezterm.font { family = 'Noto Sans', weight = 'Regular' },
},
scrollback_lines = 26000,
-- Keybindings
-- disable_default_key_bindings = true,
leader = { key = 'b', mods = 'CMD', timeout_milliseconds = 2000 },
} }