From ba5eee9f72838107cd3541cd1e0ca5643cb61964 Mon Sep 17 00:00:00 2001 From: aktersnurra Date: Tue, 23 Feb 2021 22:30:59 +0100 Subject: fixed the tmux color bug again --- .config/alacritty/alacritty.yml | 6 +++++- .config/nvim/themes/spaceway.vim | 2 +- .config/tmux/.tmux.conf | 4 ++-- .config/zsh/exports.zsh | 3 --- 4 files changed, 8 insertions(+), 7 deletions(-) (limited to '.config') diff --git a/.config/alacritty/alacritty.yml b/.config/alacritty/alacritty.yml index 8af599d..9435276 100644 --- a/.config/alacritty/alacritty.yml +++ b/.config/alacritty/alacritty.yml @@ -70,7 +70,7 @@ font: family: SpaceMono Nerd Font # Style can be specified to pick a specific face. # style: Italic - size: 14.0 + size: 12.0 offset: x: 0 @@ -78,6 +78,10 @@ font: glyph_offset: x: 0 y: 0 + +env: + TERM: xterm-256color + window: padding: x: 16 diff --git a/.config/nvim/themes/spaceway.vim b/.config/nvim/themes/spaceway.vim index 24dcb70..a9f57a1 100644 --- a/.config/nvim/themes/spaceway.vim +++ b/.config/nvim/themes/spaceway.vim @@ -1,5 +1,5 @@ " Prevents the colorscheme from loading a custom bg color. -autocmd ColorScheme * highlight Normal ctermbg=NONE guibg=NONE +" autocmd ColorScheme * highlight Normal ctermbg=NONE guibg=NONE let &t_8f = "\[38:2:%lu:%lu:%lum" diff --git a/.config/tmux/.tmux.conf b/.config/tmux/.tmux.conf index 8fdc640..60c6700 100644 --- a/.config/tmux/.tmux.conf +++ b/.config/tmux/.tmux.conf @@ -3,8 +3,8 @@ set -g @plugin 'tmux-plugins/tpm' set -g @plugin "arcticicestudio/nord-tmux" # Allows vim to display colors correctly. -set -g terminal-overrides ',xterm-256color:Tc' -set -as terminal-overrides ',xterm*:sitm=\E[3m' +set -g default-terminal "tmux-256color" +set -ag terminal-overrides ",alacritty:RGB" set -g status-position top # statusbar position set -g status-interval 1 diff --git a/.config/zsh/exports.zsh b/.config/zsh/exports.zsh index bdf0c8a..243db8b 100644 --- a/.config/zsh/exports.zsh +++ b/.config/zsh/exports.zsh @@ -29,7 +29,4 @@ export PYENV_ROOT="$HOME/.pyenv" export PATH="$PYENV_ROOT/bin:$PATH" PATH=$(pyenv root)/shims:$PATH -# Allows tmux to display colors correctly. -export TERM="xterm-256color" - export GEM_HOME="$HOME/.gem" -- cgit v1.2.3-70-g09d2