From f9b5aeb8f522830ac0ae4c2aeba7cad7053a06fa Mon Sep 17 00:00:00 2001
From: Oliver Davies <oliver@oliverdavies.uk>
Date: Thu, 8 Dec 2022 10:12:06 +0000
Subject: [PATCH] chore(tmux): status line configuration

---
 nixpkgs/home-manager/modules/tmux.nix | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/nixpkgs/home-manager/modules/tmux.nix b/nixpkgs/home-manager/modules/tmux.nix
index d034696b..cf6be3fa 100644
--- a/nixpkgs/home-manager/modules/tmux.nix
+++ b/nixpkgs/home-manager/modules/tmux.nix
@@ -32,8 +32,16 @@
       bind -n C-Down resize-pane -D 5
       bind -n C-Up resize-pane -U 5
 
-      set-option -g status-left-length 50
-      set-option -g status-right ""
+      # Status line customisation
+      set-option -g status-left-length 100
+      set-option -g status-right-length 100
+      set-option -g status-left " #{session_name}  "
+      set-option -g status-right "#{pane_title} "
+      set-option -g status-style "fg=#7C7D83 bg=#242631"
+      set-option -g window-status-format "#{window_index}:#{pane_current_command}#{window_flags} "
+      set-option -g window-status-current-format "#{window_index}:#{pane_current_command}#{window_flags} "
+      set-option -g window-status-current-style "fg=#E9E9EA"
+      set-option -g window-status-activity-style none
 
       bind c new-window -c "#{pane_current_path}"