diff options
| author | Kyren223 <Kyren223@proton.me> | 2025-07-20 17:42:52 +0300 |
|---|---|---|
| committer | Kyren223 <Kyren223@proton.me> | 2025-07-20 17:42:52 +0300 |
| commit | a0e1b51c77d217d6237bbd42c7b41df9a9810e0d (patch) | |
| tree | 871bc4a6527f869514af86e22f9f07e2b09779cf /scripts/tmux-session-setup | |
| parent | 36c197b90cbba6b38da1bf132779b973f40da305 (diff) | |
Added blockbrawl for sessionizer
Diffstat (limited to 'scripts/tmux-session-setup')
| -rwxr-xr-x | scripts/tmux-session-setup | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/scripts/tmux-session-setup b/scripts/tmux-session-setup index 3389b60..2da5f6e 100755 --- a/scripts/tmux-session-setup +++ b/scripts/tmux-session-setup @@ -42,6 +42,16 @@ elif [ "$sess" = "eko" ]; then # tmux send-keys -t $sess:logs.3 "go run ./cmd/server --stdout" C-m tmux select-window -t $sess:editor +elif [ "$sess" = "blockbrawl" ]; then + tmux rename-window -t $sess:1 editor + tmux send-keys -t $sess:editor.1 "nix develop path:" C-m + tmux send-keys -t $sess:editor.1 "vim" C-m + + tmux new-window -t $sess -n server -c $dir + tmux send-keys -t $sess:server "nix develop path:" C-m + # tmux send-keys -t $sess:server "" C-m + + tmux select-window -t $sess:editor elif [ "$sess" = "server" ]; then tmux rename-window -t $sess:1 local |
