From 6242d683e94d77a206174af167d30959d1746114 Mon Sep 17 00:00:00 2001 From: JP Appel Date: Thu, 26 Sep 2024 15:51:54 -0400 Subject: Fix tmx themeing --- tmux/theme.tmux.conf | 19 +++++++++++++++++++ tmux/tmux.conf | 11 +++++++---- 2 files changed, 26 insertions(+), 4 deletions(-) diff --git a/tmux/theme.tmux.conf b/tmux/theme.tmux.conf index 7286ff9..f313f68 100644 --- a/tmux/theme.tmux.conf +++ b/tmux/theme.tmux.conf @@ -5,6 +5,25 @@ set -g clock-mode-style 24 set -g monitor-bell on set -g monitor-activity on +# Copy mode + +set -g copy-mode-match-style "bg=color8 fg=color1" +set -g copy-mode-current-match-style "bg=color5 fg=color0" +set -g copy-mode-mark-style "bg=red fg=black" +set -g mode-style "bg=color2 fg=color0" + +# Menus +set -g menu-selected-style "bg=yellow fg=black" # Statusbar set -g status-position top +set -g status-style "fg=color7 dim" + +set -g status-left-length 15 + +set -g status-right "#{user}@#h" + +# Windows +setw -g window-status-current-format " #[bold]#I #[nobold]#W #F " +setw -g window-status-current-style "bg=color5 fg=color0" +setw -g window-status-format " #[nodim]#I #[dim]#W #F " diff --git a/tmux/tmux.conf b/tmux/tmux.conf index c86cc6c..1a970d4 100644 --- a/tmux/tmux.conf +++ b/tmux/tmux.conf @@ -12,8 +12,10 @@ set -g mode-keys vi set -g editor $EDITOR set -g renumber-windows on +# Keybinds +if-shell 'test -n "$SSH_CLIENT"' 'source-file ~/.config/tmux/remote.tmux.conf' -#vi bindings +## vi bindings unbind-key h unbind-key j unbind-key k @@ -23,11 +25,12 @@ bind-key j select-pane -D bind-key k select-pane -U bind-key l select-pane -R -# Pane splitting +## Pane splitting bind | split-window -h bind _ split-window -v +# Themeing +set -g set-titles on +set -g set-titles-string "tmux - #{user}@#h - #S:#W" -# Sourcing source-file ~/.config/tmux/theme.tmux.conf -if-shell 'test -n "$SSH_CLIENT"' 'source-file ~/.config/tmux/remote.tmux.conf' -- cgit v1.2.3