From 4f98470a4eda3e76298f7787a85ffe1899a7b611 Mon Sep 17 00:00:00 2001 From: Andrei Stoica Date: Fri, 2 Feb 2024 13:24:46 -0500 Subject: [PATCH] color and statusline changes --- .tmux.conf##default | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/.tmux.conf##default b/.tmux.conf##default index 78757fb..51f0203 100644 --- a/.tmux.conf##default +++ b/.tmux.conf##default @@ -33,10 +33,11 @@ unbind h bind h attach-session -t . -c "#{pane_current_path}" # status bar -set -g status-right '%H:%m %d-%b-%y ' +set -g status-right '#[fg=black]#[bg=black fg=colour135] %H:%m #[fg=default]%b %d %Y' if-shell 'test "$(acpi -t)"' { - set -g status-right '♥#(acpi | cut -d ',' -f 2) | %H:%m %d-%b-%y ' + set -g status-right '#[fg=black]#[bg=black fg=colour135] %H:%m #[fg=default]%b %d %Y ♥#(acpi | cut -d ',' -f 2)' } + set -g status-right '#[fg=black]#[bg=black fg=colour135] %H:%m #[fg=default]%b %d %Y #[fg=pink] ♥#(acpi | cut -d ',' -f 2)' # Start windows and panes at 1, not 0 set -g base-index 1 @@ -56,3 +57,15 @@ bind-key -r -T prefix M-j resize-pane -D bind-key -r -T prefix M-h resize-pane -L bind-key -r -T prefix M-l resize-pane -R +set-option -g allow-passthrough on + +set -g default-terminal "xterm-256color" +set-option -ga terminal-overrides "xterm-256color" + +set -g status-left-length 85 +set -g status-left "#[bg=black]working on#[fg=colour135] #S #[bg=default fg=black]" +set -g window-status-current-format "#[fg=colour135]#W" +set -g status-style bg=default +set -g pane-active-border-style fgkcolour135 +#set -g status-justify centre +