From 2e385f64b09be2391e52f2450203c0f92aa0e24d Mon Sep 17 00:00:00 2001 From: Andrew Guschin Date: Thu, 15 Feb 2024 02:20:28 +0400 Subject: Add wezterm config --- .config/tmux/tmux.conf | 3 ++- .config/wezterm/wezterm.lua | 44 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+), 1 deletion(-) create mode 100644 .config/wezterm/wezterm.lua diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf index 88836de..59cb5ef 100644 --- a/.config/tmux/tmux.conf +++ b/.config/tmux/tmux.conf @@ -1,5 +1,6 @@ set -sg escape-time 0 -set -g default-terminal "screen-256color" +set -g default-terminal "xterm-256color" +set-option -sa terminal-features ',xterm-256color:RGB' set -g mouse on set -g base-index 1 setw -g pane-base-index 1 diff --git a/.config/wezterm/wezterm.lua b/.config/wezterm/wezterm.lua new file mode 100644 index 0000000..bbdb51c --- /dev/null +++ b/.config/wezterm/wezterm.lua @@ -0,0 +1,44 @@ +local wezterm = require 'wezterm'; + +return { + colors = { + background = '#101418', + foreground = '#ededed', + + ansi = { + '#2b1b1b', + '#e42222', + '#12df1d', + '#e9b218', + '#4879f6', + '#dd0ffd', + '#41c1e6', + '#dcdcd0', + }, + brights = { + '#52545b', + '#fb6a6a', + '#74f435', + '#ebcb71', + '#8896ff', + '#ec77ff', + '#84e5f3', + '#f7f7f1', + }, + + selection_bg = '#313131', + selection_fg = '#fffefe', + }, + font = wezterm.font "Input", + hide_tab_bar_if_only_one_tab = true, + font_size = 15, + window_padding = { + left = 7, + right = 7, + top = 0, + bottom = 0, + }, + window_background_opacity = 0.999, + native_macos_fullscreen_mode = true, + window_close_confirmation = 'NeverPrompt', +} -- cgit v1.2.3