From c082b46677ebff792fa1a8eb8eaff41c2a89bb39 Mon Sep 17 00:00:00 2001 From: Lucas Barbieri Date: Sun, 14 Jul 2024 12:09:17 -0300 Subject: [PATCH] fix: mend tmux not showing correct colors --- desktop/configs/tmux/.config/tmux/theme.conf | 2 +- desktop/configs/tmux/.config/tmux/tmux.conf | 5 +++-- desktop/configs/tofi/.config/tofi/theme.conf | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/desktop/configs/tmux/.config/tmux/theme.conf b/desktop/configs/tmux/.config/tmux/theme.conf index ee7201e..2b8271e 120000 --- a/desktop/configs/tmux/.config/tmux/theme.conf +++ b/desktop/configs/tmux/.config/tmux/theme.conf @@ -1 +1 @@ -/yang/.config/tmux/themes/tmux-everforest.conf \ No newline at end of file +/yang/.config/tmux/themes/tmux-solarized.conf \ No newline at end of file diff --git a/desktop/configs/tmux/.config/tmux/tmux.conf b/desktop/configs/tmux/.config/tmux/tmux.conf index b487c05..db01d0c 100644 --- a/desktop/configs/tmux/.config/tmux/tmux.conf +++ b/desktop/configs/tmux/.config/tmux/tmux.conf @@ -4,6 +4,7 @@ bind-key C-a send-prefix set -g default-terminal "tmux-256color" set-option -sa terminal-overrides ",xterm-kitty:RGB" +set-option -ga terminal-overrides ",xterm-256color:Tc" unbind C-o bind C-o display-popup -E "~/.cargo/bin/tms" @@ -71,7 +72,7 @@ set-option -g set-titles-string "#S / #W" source ~/.config/tmux/theme.conf -set -g bell-action off set -g visual-bell off -set -g bell-on-alert off +set -as terminal-overrides ',*:Smulx=\E[4::%p1%dm' # undercurl support +set -as terminal-overrides ',*:Setulc=\E[58::2::%p1%{65536}%/%d::%p1%{256}%/%{255}%&%d::%p1%{255}%&%d%;m' # underscore colours - needs tmux-3.0 run '~/.config/tmux/plugins/tpm/tpm' diff --git a/desktop/configs/tofi/.config/tofi/theme.conf b/desktop/configs/tofi/.config/tofi/theme.conf index 409b492..ff69fb4 120000 --- a/desktop/configs/tofi/.config/tofi/theme.conf +++ b/desktop/configs/tofi/.config/tofi/theme.conf @@ -1 +1 @@ -/yang/.config/tofi/everforest.conf \ No newline at end of file +/yang/.config/tofi/solarized.conf \ No newline at end of file