Files
dotfiles/misc/scripts/dmux
2024-12-30 15:04:23 +01:00

12 lines
419 B
Bash
Executable File

#!/usr/bin/env bash
SESSION='quak'
# dont forget the '-d' option, otherwise the rest of
# the commands will get executed after the session is closed
tmux new-session -d -s "$SESSION" -n "temp"
tmux new-window -t "$SESSION" -n "dotfiles" -c $HOME/dotfiles
tmux new-window -t "$SESSION" -n "docs" -c $HOME/collection
tmux new-window -t "$SESSION" -n "stuff" -c $HOME
tmux kill-window -t "temp"
tmux attach -t "$SESSION"