From c3df9f22af8e9c02f002be3a422814114153fe4f Mon Sep 17 00:00:00 2001 From: Christian Baer Date: Tue, 5 Nov 2024 21:41:55 +0100 Subject: [PATCH] tmux: Fixed window index for startup command --- .config/tmux/tmux.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf index f76dffc..af46ba2 100644 --- a/.config/tmux/tmux.conf +++ b/.config/tmux/tmux.conf @@ -19,7 +19,7 @@ set-option -g history-limit 10000 new-session -s main # Start htop and split the window when the session "main" is created -set-hook -t main session-created 'send-keys -t main:0 "sudo htop" C-m; split-window' +set-hook -t main session-created 'send-keys -t main:1 "sudo htop" C-m; split-window' ### Key Bindings # Remap the prefix key from 'C-b' (Ctrl-b) to 'C-a' (Ctrl-a)