From fbc3a09b2beda6c8af794a879bf2e7fe58563546 Mon Sep 17 00:00:00 2001 From: David Morgan Date: Mon, 7 Nov 2022 21:20:49 +0000 Subject: [PATCH] Play with tmux conf some more --- nix-conf/home/includes/linux-server.nix | 18 ++++++++++++------ 1 file 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" ''; };