From a24cf7f2418a4912c77a068e5019963a716af0c7 Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Thu, 3 Dec 2020 12:30:17 +0100 Subject: [PATCH] tmux: Remove statusline time and date Removed display of time and date from tmux, since I have the polybar time up always. Shuffled around the rest of the display: removed left-sided display of active (tmux) user, moved it to the right side. --- nvim/.config/nvim/plugin/tmuxline.vim | 6 ++---- tmux/.config/tmux/tmux.conf | 4 ++-- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/nvim/.config/nvim/plugin/tmuxline.vim b/nvim/.config/nvim/plugin/tmuxline.vim index 157188c..30198e6 100644 --- a/nvim/.config/nvim/plugin/tmuxline.vim +++ b/nvim/.config/nvim/plugin/tmuxline.vim @@ -2,11 +2,9 @@ " PLUGIN: TMUXLINE let g:tmuxline_preset = { \'a' : '#S', - \'b' : '#(whoami)', - \'c' : '#I:#P', + \'b' : '#I:#P', \'win' : '#I #W', \'cwin' : [' ', '#I #W'], - \'x' : '#{?client_prefix,#[fg=colour232]#[bg=brightblue],} %H:%M:%S', - \'y' : '%d-%b-%y', + \'y' : '#{?client_prefix,#[fg=colour232]#[bg=brightblue],} #(whoami)', \'z' : '#H', \'options' : {}} diff --git a/tmux/.config/tmux/tmux.conf b/tmux/.config/tmux/tmux.conf index 4942935..938c3e7 100644 --- a/tmux/.config/tmux/tmux.conf +++ b/tmux/.config/tmux/tmux.conf @@ -136,8 +136,8 @@ set -g status-right-length "100" setw -g window-status-style fg="#c8c8c8",bg="#2e2e2e","none" setw -g window-status-activity-style bg="#2e2e2e",fg="#c8c8c8","underscore" setw -g window-status-separator "" -set -g status-left "#[fg=#c8c8c8,bg=#2e2e2e] #S #[fg=#2e2e2e,bg=#2e2e2e,nobold,nounderscore,noitalics]#[fg=#c8c8c8,bg=#2e2e2e] #(whoami) #[fg=#2e2e2e,bg=#2e2e2e,nobold,nounderscore,noitalics]#[fg=#c8c8c8,bg=#2e2e2e] #I:#P #[fg=#2e2e2e,bg=#2e2e2e,nobold,nounderscore,noitalics]" -set -g status-right "#[fg=#2e2e2e,bg=#2e2e2e,nobold,nounderscore,noitalics] #[fg=#c8c8c8,bg=#2e2e2e] #{?client_prefix,#[fg=colour232]#[bg=brightblue],} %H:%M:%S #[fg=#2e2e2e,bg=#2e2e2e,nobold,nounderscore,noitalics]#[fg=#c8c8c8,bg=#2e2e2e] %d-%b-%y #[fg=#2e2e2e,bg=#2e2e2e,nobold,nounderscore,noitalics]#[fg=#c8c8c8,bg=#2e2e2e] #H " +set -g status-left "#[fg=#c8c8c8,bg=#2e2e2e] #S #[fg=#2e2e2e,bg=#2e2e2e,nobold,nounderscore,noitalics]#[fg=#c8c8c8,bg=#2e2e2e] #I:#P #[fg=#2e2e2e,bg=#2e2e2e,nobold,nounderscore,noitalics]#[fg=#c8c8c8,bg=#2e2e2e] #[fg=#2e2e2e,bg=#2e2e2e,nobold,nounderscore,noitalics]" +set -g status-right "#[fg=#2e2e2e,bg=#2e2e2e,nobold,nounderscore,noitalics] #[fg=#c8c8c8,bg=#2e2e2e] #{?client_prefix,#[fg=colour232]#[bg=brightblue],} #(whoami) #[fg=#2e2e2e,bg=#2e2e2e,nobold,nounderscore,noitalics]#[fg=#c8c8c8,bg=#2e2e2e] %d-%b-%y #[fg=#2e2e2e,bg=#2e2e2e,nobold,nounderscore,noitalics]#[fg=#c8c8c8,bg=#2e2e2e] #H " setw -g window-status-format "#[fg=#2e2e2e,bg=#2e2e2e,nobold,nounderscore,noitalics]#[default] #I #W #[fg=#2e2e2e,bg=#2e2e2e,nobold,nounderscore,noitalics]" setw -g window-status-current-format "#[fg=#2e2e2e,bg=#2e2e2e,nobold,nounderscore,noitalics]#[fg=#c8c8c8,bg=#2e2e2e]  #I #W #[fg=#2e2e2e,bg=#2e2e2e,nobold,nounderscore,noitalics]"