From 535de45b7b7d187ae031497b611c261a53394eac Mon Sep 17 00:00:00 2001 From: quak Date: Thu, 17 Oct 2024 00:15:48 +0200 Subject: [PATCH] tmux tmux tmux --- bashrc/.bashrc | 3 +- tmux/.config/tmux/zegonix.conf | 56 ++++++++++++++++++---------------- 2 files changed, 31 insertions(+), 28 deletions(-) diff --git a/bashrc/.bashrc b/bashrc/.bashrc index 50b6f5c..c023204 100644 --- a/bashrc/.bashrc +++ b/bashrc/.bashrc @@ -22,9 +22,10 @@ alias nano='nano -l' alias dirs='dirs -v' -alias sbashrc='source ~/.bashrc' +alias bashsource='source ~/.bashrc' ## short forms for tmux commands +alias trs='tmux rename-session' alias trw='tmux rename-window' alias tnw='tmux new-window -c "#{pane_current_path}"' diff --git a/tmux/.config/tmux/zegonix.conf b/tmux/.config/tmux/zegonix.conf index dd3c29d..08a584b 100644 --- a/tmux/.config/tmux/zegonix.conf +++ b/tmux/.config/tmux/zegonix.conf @@ -17,41 +17,43 @@ set -g bell-action none # user variables -set -g @white "#C8C8C8" -set -g @dark-blue "#000010" -set -g @blue "#203050" -set -g @light-blue "#5BB8FF" -set -g @cyan "#15D7E5" -set -g @dark-grey "#282830" -set -g @light-grey "#A0A0AD" -set -g @black "#000000" -set -g @dark-green "#183018" +set -g @white "#C8C8C8" +set -g @bluish-black "#000010" +set -g @dark-blue "#203050" +set -g @blue "#297AF5" +set -g @light-blue "#5BB8FF" +set -g @cyan "#15D7E5" +set -g @dark-grey "#242430" +set -g @light-grey "#A0A0AD" +set -g @black "#000000" +set -g @dark-green "#183018" +set -g @green "#37AC2A" +set -g @light-green "#8CDF5A" +set -g @magenta "#E02482" # format strings -set-option -g status-left " ( $#S ) " -set-option -g status-right "#[fg=#{@white}] ( %Y-%m-%d #[fg=#{@light-blue}]//#[fg=#{@white}] %H:%M ) " -setw -g window-status-format " [ #I : #W ] " -setw -g window-status-current-format " [ #I : #W ] " -set-window-option -g window-status-separator "" +set -g status-left " ( #S ) " +set -g status-right "#[fg=#{@light-green}] ( #[fg=#{@white}]%Y-%m-%d #[fg=#{@light-green}]//#[fg=#{@white}] %H:%M #[fg=#{@light-green}]) " +setw -g window-status-format " #I_#W " +setw -g window-status-current-format "[ #I_#W ]" +setw -g window-status-separator "" # style strings -set-option -g status-style "bg=#{@dark-grey},fg=#{@white}" -set-option -g status-left-style "bg=#{@light-grey},fg=#{@dark-blue}" -set-option -g status-right-style "bg=#{@dark-grey},fg=#{@white}" -setw -g window-status-style "bg=#{@dark-grey},fg=#{@light-blue},bold" -setw -g window-status-activity-style "bg=#{@dark-grey},fg=#{@light-blue},bold" -setw -g window-status-current-style "bg=#{@light-blue},fg=#{@dark-blue},bold" +set -g status-style "bg=#{@dark-grey},fg=#{@white}" +set -g status-left-style "bg=#{@dark-grey},fg=#{@white},bold" +set -g status-right-style "bg=#{@dark-grey},fg=#{@white}" +setw -g window-status-style "fg=#{@blue},bold" +setw -g window-status-activity-style "fg=#{@blue},bold" +setw -g window-status-current-style "fg=#{@light-blue},bold" + +# .. +set-option -g status-justify "left" +set-option -g status-left-length "80" +set-option -g status-right-length "80" set-option -g message-style bg=colour239,fg=colour223 set-option -g message-command-style bg=colour239,fg=colour223 -## Theme settings mixed with colors (unfortunately, but there is no cleaner way) -set-option -g status-justify "left" -set-option -g status-left-length "80" -set-option -g status-right-length "80" - - -# vim: set ft=tmux tw=0 nowrap: