From 4e137b3e2a6b24d5f6f33979100f7b8c11e8b7a5 Mon Sep 17 00:00:00 2001 From: Karsten Hachmeister Date: Wed, 15 May 2024 13:36:35 +0200 Subject: [PATCH] add wezterm config --- .config/wezterm/wezterm.lua | 91 +++++++++++++++++++++++++++++++++++++ 1 file changed, 91 insertions(+) create mode 100644 .config/wezterm/wezterm.lua diff --git a/.config/wezterm/wezterm.lua b/.config/wezterm/wezterm.lua new file mode 100644 index 0000000..ae3c7ef --- /dev/null +++ b/.config/wezterm/wezterm.lua @@ -0,0 +1,91 @@ +local wezterm = require 'wezterm' +local config = {} + +-- config.font = wezterm.font 'JetBrainsMono Nerd Font' +config.font_size = 15.0 + +-- config.color_scheme = 'Dark Pastel' +-- config.color_scheme = 'Material Darker (base16)' +-- config.color_scheme = 'Default (dark) (terminal.sexy)' +config.color_scheme = 'MyColors' +config.window_background_opacity = 0.65 +config.use_fancy_tab_bar = false +config.hide_tab_bar_if_only_one_tab = true +-- config.show_tabs_in_tab_bar = false + +config.color_schemes = { + ['MyColors'] = { + foreground = '#e3e3e3', + background = '#000000', + -- cursor_fg = '', + + ansi = { + '#1d212a', + '#fc636c', + '#63e176', + '#fbcd68', + '#7a91fb', + '#d968c2', + '#5dc5ee', + '#c3c3c3', + }, + + brights = { + '#535760', + '#fc8993', + '#89e19c', + '#fbdf90', + '#a7bdfb', + '#d990cd', + '#81d4ee', + '#e3e3e3', + }, + + tab_bar = { + background = "rgba(0, 0, 0, 0.65)", + + active_tab = { + bg_color = "rgba(0, 0, 0, 0.8)", + fg_color = '#ccc', + }, + + inactive_tab = { + bg_color = "rgba(0, 0, 0, 0.65)", + fg_color = '#666', + }, + + inactive_tab_hover = { + bg_color = "rgba(0, 0, 0, 0.75)", + fg_color = '#aaa', + }, + + new_tab = { + bg_color = "rgba(0, 0, 0, 0.7)", + fg_color = '#666', + }, + + new_tab_hover = { + bg_color = "rgba(0, 0, 0, 0.8)", + fg_color = '#aaa', + }, + }, + } +} + +local SOLID_LEFT_ARROW = wezterm.nerdfonts.pl_right_hard_divider +local SOLID_RIGHT_ARROW = wezterm.nerdfonts.pl_left_hard_divider + +-- config.tab_bar_style = { +-- active_tab_left = wezterm.format { +-- { Background = { Color = '#0b0022' } }, +-- { Foreground = { Color = '#2b2042' } }, +-- { Text = SOLID_LEFT_ARROW }, +-- }, +-- active_tab_right = wezterm.format { +-- { Background = { Color = '#0b0022' } }, +-- { Foreground = { Color = '#2b2042' } }, +-- { Text = SOLID_RIGHT_ARROW }, +-- }, +-- } + +return config