From 4724527b745489a57899ac801b0c41708c8ca363 Mon Sep 17 00:00:00 2001 From: Von Random Date: Wed, 22 May 2024 10:47:35 +0300 Subject: [PATCH] Revert "wezterm: tab management" This reverts commit 7a2cb682ba4586c34be2ab80964b720b146f32b5. --- gui/.config/wezterm/keybinds.lua | 1 - gui/.config/wezterm/wezterm.lua | 4 +++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/gui/.config/wezterm/keybinds.lua b/gui/.config/wezterm/keybinds.lua index 7860639..14fe638 100644 --- a/gui/.config/wezterm/keybinds.lua +++ b/gui/.config/wezterm/keybinds.lua @@ -9,7 +9,6 @@ local keybinds = { { key = 't', mods = 'LEADER', action = act.EmitEvent('override-theme') }, { key = 'r', mods = 'LEADER', action = act.EmitEvent('override-reset') }, -- tabs - { key = 'w', mods = 'LEADER', action = act.ShowTabNavigator }, { key = 'c', mods = 'LEADER', action = act.SpawnTab('DefaultDomain') }, { key = 'n', mods = 'LEADER', action = act.ActivateTabRelative( 1) }, { key = 'p', mods = 'LEADER', action = act.ActivateTabRelative(-1) }, diff --git a/gui/.config/wezterm/wezterm.lua b/gui/.config/wezterm/wezterm.lua index 60ba06b..c8ae591 100644 --- a/gui/.config/wezterm/wezterm.lua +++ b/gui/.config/wezterm/wezterm.lua @@ -28,9 +28,11 @@ cfg.font_size = fn.set_by_os{ } -- visuals +cfg.window_decorations = 'RESIZE' cfg.xcursor_theme = 'Adwaita' cfg.use_fancy_tab_bar = false -cfg.enable_tab_bar = false +cfg.hide_tab_bar_if_only_one_tab = false +cfg.show_new_tab_button_in_tab_bar = false cfg.tab_max_width = 128 cfg.window_padding = { left = '5pt',