diff options
| author | Kyren223 <contact@kyren.codes> | 2026-06-23 12:36:34 +0300 |
|---|---|---|
| committer | Kyren223 <contact@kyren.codes> | 2026-06-23 12:36:34 +0300 |
| commit | 97037edc434d17ae79cd2954d40ec3fe02d58258 (patch) | |
| tree | 8faacd20bef262651947ca2bf31defb5f3a9bfca | |
| parent | ba8b39df114371872068f1e38be8216e8a1bbee9 (diff) | |
Add tmux session setup for Jotlin
| -rwxr-xr-x | scripts/tmux-session-setup | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/tmux-session-setup b/scripts/tmux-session-setup index aeefcc7..02d5bb3 100755 --- a/scripts/tmux-session-setup +++ b/scripts/tmux-session-setup @@ -57,6 +57,14 @@ 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" = "Jotlin" ]; then + tmux rename-window -t $sess:1 editor + 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.1 "./gradlew runServer" 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 "vim" C-m |
