From 21e534977b46cb1108f5dd7949001671f6387058 Mon Sep 17 00:00:00 2001 From: Stefan Friese Date: Fri, 9 Feb 2024 16:39:44 +0100 Subject: [PATCH] added some color to tmux --- tmux/.tmux.conf | 40 ++++++++++++++++++++++++++++++++++++++-- 1 file changed, 38 insertions(+), 2 deletions(-) diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf index 7b9de7b..b76b849 100755 --- a/tmux/.tmux.conf +++ b/tmux/.tmux.conf @@ -1,15 +1,51 @@ # set -g default-terminal screen-256color # set -g default-terminal tmux-256color +# set -g status-utf8 on +# set -g utf8 on set -g default-terminal xterm-256color set -ga terminal-overrides ",*256col*:Tc" + set -g mouse on bind r source-file ~/.tmux.conf \; display ​"Reloaded!" +set -s escape-time 0 +setw -g aggressive-resize on +set -g display-time 2000 set-option -g history-limit 5000 setw -g automatic-rename on set-option -g status-position top -# set the status line's colors -set -g status-style fg=black,bg=#928374 +# # --> Catppuccin (Macchiato) +thm_bg="#24273a" +thm_fg="#cad3f5" +thm_cyan="#91d7e3" +thm_black="#1e2030" +thm_gray="#363a4f" +thm_magenta="#c6a0f6" +thm_pink="#f5bde6" +thm_red="#ed8796" +thm_green="#a6da95" +thm_yellow="#eed49f" +thm_blue="#8aadf4" +thm_orange="#f5a97f" +thm_black4="#5b6078" +set -g status-bg $thm_gray +set -g status-fg $thm_orange +set-window-option -g window-status-current-style bg=$thm_black4 +# set-window-option -g window-status-current-style fg=$thm_orange + +# set the status line's colors +# set -g status-style fg=thm_orange,bg=#928374 +# set-window-option -g window-status-current-style red +# set -g window-status-current-style fg=thm_orange,bg=thm_black4 + +################################################################################ +# +# Plugins +# +################################################################################ + +# set -g status-right '#{battery_status_bg} Batt: #{battery_icon} #{battery_percentage} #{battery_remain} | %a %h-%d %H:%M ' +# run ~/.tmux/plugins/tmux-battery/battery.tmux