From b0208ebbd7166e6129ec70b503592dbb989a2004 Mon Sep 17 00:00:00 2001 From: Von Random Date: Mon, 16 Oct 2023 12:26:39 +0300 Subject: [PATCH] wezterm: rearrange stuff --- gui/.config/wezterm/overrides.lua | 1 - gui/.config/wezterm/wezterm.lua | 22 ++++++++++++---------- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/gui/.config/wezterm/overrides.lua b/gui/.config/wezterm/overrides.lua index c425921..936ec79 100644 --- a/gui/.config/wezterm/overrides.lua +++ b/gui/.config/wezterm/overrides.lua @@ -34,7 +34,6 @@ theme.colors = { } } } -theme.colors.tab_bar.active_tab_hover = theme.colors.tab_bar.active_tab theme.colors.tab_bar.inactive_tab_hover = theme.colors.tab_bar.inactive_tab theme.window_frame = { active_titlebar_bg = tab_bg, diff --git a/gui/.config/wezterm/wezterm.lua b/gui/.config/wezterm/wezterm.lua index 0bd2c51..b9269f2 100644 --- a/gui/.config/wezterm/wezterm.lua +++ b/gui/.config/wezterm/wezterm.lua @@ -20,16 +20,24 @@ cfg.font_size = fn.set_by_os{ } -- visuals -local tab_fg = '#657b83' -local tab_bg = '#eee8d5' -local tab_bg_active = '#fdf6e3' - cfg.window_decorations = 'INTEGRATED_BUTTONS|RESIZE|MACOS_FORCE_ENABLE_SHADOW' cfg.xcursor_theme = 'Adwaita' cfg.use_fancy_tab_bar = true 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', + right = 0, + top = '2pt', + bottom = 0 +} + +-- colors +local tab_fg = '#657b83' +local tab_bg = '#eee8d5' +local tab_bg_active = '#fdf6e3' + cfg.color_scheme = 'Solarized Light (Gogh)' cfg.colors = { cursor_bg = '#cb4b16', @@ -51,12 +59,6 @@ cfg.window_frame = { active_titlebar_bg = tab_bg, inactive_titlebar_bg = tab_bg } -cfg.window_padding = { - left = '5pt', - right = 0, - top = '2pt', - bottom = 0 -} -- callbacks require('overrides')