aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJP Appel <jeanpierre.appel01@gmail.com>2024-09-26 15:51:54 -0400
committerJP Appel <jeanpierre.appel01@gmail.com>2024-09-26 15:51:54 -0400
commit6242d683e94d77a206174af167d30959d1746114 (patch)
tree7694c48d72422d877308c211c080257d3d5da39d
parentd19967f868445416c5b8005cc57b4ad17d3a4719 (diff)
Fix tmx themeing
-rw-r--r--tmux/theme.tmux.conf19
-rw-r--r--tmux/tmux.conf11
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'