Switch grimoire and main

This commit is contained in:
2025-08-28 01:45:05 +03:00
parent 8785c36bc4
commit b51116d6a0

View File

@@ -4,15 +4,17 @@ sess=$1
dir=$2
if [ "$dir" = "$HOME" ]; then
tmux rename-window -t $sess:1 main
tmux send-keys -t $sess:main.1 "fastfetch" C-m
tmux new-window -t $sess -n dotfiles -c $HOME/dotfiles
tmux send-keys -t $sess:dotfiles.1 "vim" C-m
# 𐌲𐍂𐌹𐌼𐍉𐌹𐍂𐌴
tmux new-window -t $sess -n "grimoire" -c $HOME/personal/grimoire/
tmux send-keys -t $sess:"grimoire".1 "vim" C-m
tmux select-window -t $sess:main
tmux new-window -t $sess -n dotfiles -c $HOME/dotfiles
tmux send-keys -t $sess:dotfiles.1 "vim" C-m
tmux rename-window -t $sess:1 main
tmux send-keys -t $sess:main.1 "fastfetch" C-m
tmux select-window -t $sess:grimoire
elif [[ "$sess" == "ratry" || "$sess" == "kiwen-prototype" || "$sess" == "cpu-vs-ai" ]]; then
tmux rename-window -t $sess:1 editor
tmux send-keys -t $sess:editor.1 "nix develop" C-m