diff options
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/tmux-session-setup | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/tmux-session-setup b/scripts/tmux-session-setup index c86665a..cc8217f 100755 --- a/scripts/tmux-session-setup +++ b/scripts/tmux-session-setup @@ -14,6 +14,15 @@ if [ "$dir" = "$HOME" ]; then tmux send-keys -t $sess:diary.1 "vim" C-m tmux select-window -t $sess:main +elif [ "$sess" = "raytry" ]; then + tmux rename-window -t $sess:1 editor + tmux send-keys -t $sess:editor.1 "nix develop" C-m + tmux send-keys -t $sess:editor.1 "nvim" C-m + + tmux new-window -t $sess -n game -c $dir + tmux send-keys -t $sess:game.1 "nix develop" C-m + + tmux select-window -t $sess:editor elif [ "$sess" = "eko" ]; then tmux rename-window -t $sess:1 editor tmux send-keys -t $sess:editor.1 "vim" C-m |
