about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorDavid Morgan <djm_uk@protonmail.com>2022-11-07 21:20:49 +0000
committerDavid Morgan <djm_uk@protonmail.com>2022-11-07 21:20:49 +0000
commitfbc3a09b2beda6c8af794a879bf2e7fe58563546 (patch)
tree74bba55689060c79806e90974e363d334c9f0a5c
parent3724b1d6f7e79402dc2c1dd08b53944444ef6951 (diff)
downloaddotfiles-fbc3a09b2beda6c8af794a879bf2e7fe58563546.tar.gz
Play with tmux conf some more
-rw-r--r--nix-conf/home/includes/linux-server.nix18
1 files changed, 12 insertions, 6 deletions
diff --git a/nix-conf/home/includes/linux-server.nix b/nix-conf/home/includes/linux-server.nix
index c962fea..8f8fcbb 100644
--- a/nix-conf/home/includes/linux-server.nix
+++ b/nix-conf/home/includes/linux-server.nix
@@ -24,15 +24,21 @@
     prefix = "C-a";
     #tmuxp.enable = true;
     extraConfig = ''
-        setw -g window-status-current-format "#[fg=red,bold][#[fg=default]#F#I:#W#F#[fg=red,bold]]#[default]"
-        setw -g window-status-format "#[fg=green]{#[default]#F#I:#W#F#[fg=green]}#[default]"
+      bind-key C-a last-window
+      bind-key a send-prefix
 
-        set -g status-left-length 17
+      set -g status-bg black
+      set -g status-fg white
 
-        set -g status-interval 1
+      setw -g window-status-current-format "#[fg=red,bold][#[fg=default]#F#I:#W#F#[fg=red,bold]]#[default]"
+      setw -g window-status-format "#[fg=green]{#[default]#F#I:#W#F#[fg=green]}#[default]"
 
-        set -g status-left "#[fg=yellow]#h#[default]"
-        set -g status-right "#[fg=magenta,bold]#(/home/djm/bin/showmail.sh)#[fg=blue]%a%d/%m#[fg=yellow]%H:%M:%S"
+      set -g status-left-length 17
+
+      set -g status-interval 1
+
+      set -g status-left "#[fg=yellow]#h#[default]"
+      set -g status-right "#[fg=magenta,bold]#(/home/djm/bin/showmail.sh)#[fg=blue]%a%d/%m#[fg=yellow]%H:%M:%S"
     '';
   };