From 42af23f04f8cdd9e8322ec30c6651ebe07d8030d Mon Sep 17 00:00:00 2001 From: Von Random Date: Thu, 23 May 2024 15:19:50 +0300 Subject: [PATCH] wezterm: close button --- gui/.config/wezterm/wezterm.lua | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/gui/.config/wezterm/wezterm.lua b/gui/.config/wezterm/wezterm.lua index b7b854c..6a7df44 100644 --- a/gui/.config/wezterm/wezterm.lua +++ b/gui/.config/wezterm/wezterm.lua @@ -28,7 +28,13 @@ cfg.font_size = fn.set_by_os{ } -- visuals -cfg.window_decorations = 'RESIZE' +cfg.window_decorations = 'INTEGRATED_BUTTONS|RESIZE' +cfg.integrated_title_buttons = {'Close'} +cfg.integrated_title_button_style = 'Windows' +cfg.integrated_title_button_alignment = fn.set_by_os{ + Darwin = 'Left', + others = 'Right' +} cfg.xcursor_theme = 'Adwaita' cfg.use_fancy_tab_bar = false cfg.hide_tab_bar_if_only_one_tab = false