From ce9117947de4f129bedad10f8610c0509e7786b8 Mon Sep 17 00:00:00 2001 From: Jaroslaw Konik Date: Fri, 20 Jun 2025 10:14:13 +0200 Subject: [PATCH] update --- tmux.conf | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/tmux.conf b/tmux.conf index 3815283..eedde03 100644 --- a/tmux.conf +++ b/tmux.conf @@ -4,7 +4,7 @@ setw -g mode-keys vi set -g pane-border-status top set -g pane-border-lines double set -g pane-border-indicators arrows -set -g pane-active-border-style "bg=default fg=yellow" +set -g pane-active-border-style "bg=color226 fg=color0" set -g repeat-time 1000 set -s set-clipboard on @@ -14,13 +14,18 @@ set -g destroy-unattached on set -g @minimal-tmux-expanded-icon "󰊓 " set -g @minimal-tmux-show-expanded-icons-for-all-tabs true -set -g @minimal-tmux-status-right-extra "#[fg=color150]#[bg=color150,fg=black]#(date)#[fg=color150,bg=default]#[bg=default] " -set -g @minimal-tmux-status-left-extra "" +set -g @minimal-tmux-status-right-extra "#[fg=color150]#[bg=color150,fg=black]CPU:#(uptime | awk -F'load average:' '{ print \$2 }' | cut -d',' -f1)#[fg=color150,bg=default]#[bg=default] " +set -ag @minimal-tmux-status-right-extra "#[fg=color150]#[bg=color150,fg=black]RAM: #(free -h | awk '/^Mem:/ {print \$3 \"/\" \$2}')#[fg=color150,bg=default]#[bg=default] " +set -ag @minimal-tmux-status-right-extra "#[fg=color150]#[bg=color150,fg=black]GPU: #(nvidia-smi --query-gpu=utilization.gpu --format=csv,noheader,nounits)%#[fg=color150,bg=default]#[bg=default] " +set -ag @minimal-tmux-status-right-extra "#[fg=color150]#[bg=color150,fg=black]#(date)#[fg=color150,bg=default]#[bg=default]" +set -g @minimal-tmux-status-left-extra "#{pane_title} - #{pane_current_command}" set -g @minimal-tmux-use-arrow true set -g @minimal-tmux-right-arrow "" set -g @minimal-tmux-left-arrow "" +set -g @minimal-tmux-left false set -g @minimal-tmux-right false -set -g status-right-length 100 +set -g status-right-length 80 +set -g status-interval 1 set -g @fingers-pattern-filelc '(([.\w\-~\$@]+)?(/[.\w\-@]+)+/?(\:\d+){0,2})'