diff --git a/tmux-sessions/linkedag.sh b/tmux-sessions/linkedag.sh index 9214b64..ce7ff09 100755 --- a/tmux-sessions/linkedag.sh +++ b/tmux-sessions/linkedag.sh @@ -4,11 +4,13 @@ tmux new-session -s linkedag -d -c ~/repos/linkedag-backend -n backend tmux split-window -h -c ~/repos/linkedag-backend +tmux resize-pane -t linkedag:backend.0 -x 90% tmux send-keys -t linkedag:backend.0 'nvim' C-m tmux send-keys -t linkedag:backend.1 'npm run dev' C-m tmux new-window -c ~/repos/linkedag -n frontend tmux split-window -h -c ~/repos/linkedag +tmux resize-pane -t linkedag:frontend.0 -x 90% tmux send-keys -t linkedag:frontend.0 'nvim' C-m tmux send-keys -t linkedag:frontend.1 'npm run dev' C-m diff --git a/tmux-sessions/syncopotamus.sh b/tmux-sessions/syncopotamus.sh index 000c7c0..8fb518f 100755 --- a/tmux-sessions/syncopotamus.sh +++ b/tmux-sessions/syncopotamus.sh @@ -1,10 +1,12 @@ tmux new-session -s syncopotamus -d -c ~/repos/syncopotamus-go -n backend tmux split-window -h -c ~/repos/syncopotamus-go +tmux resize-pane -t syncopotamus:backend.0 -x 90% tmux send-keys -t syncopotamus:backend.0 'nvim' C-m tmux send-keys -t syncopotamus:backend.1 'go run .' C-m tmux new-window -c ~/repos/syncopotamus-svelte -n frontend tmux split-window -h -c ~/repos/syncopotamus-svelte +tmux resize-pane -t syncopotamus:frontend.0 -x 90% tmux send-keys -t syncopotamus:frontend.0 'nvim' C-m tmux send-keys -t syncopotamus:frontend.1 'npm run dev' C-m