summaryrefslogtreecommitdiff
path: root/.scripts/stm
blob: 991e3d8c8205f25dece938fa788eadeff48776b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh

tmux new -s main -d
tmux rename-window -t main term

tmux new-window -t main -n dwl
tmux send-keys -t main "vim ~/.sources/dwl/config.def.h" C-m
tmux split-window -h -t main
tmux send-keys -t main "cd ~/.sources/dwl/" C-m

tmux new-window -t main -n dotfiles
tmux send-keys -t main "cd ~/.dotfiles" C-m

tmux new-window -t main -n htop
tmux send-keys -t main "htop" C-m

tmux new-window -t main -n notes
tmux send-keys -t main "vim" C-m
tmux send-keys -t main "\ww" C-m

tmux select-window -t main:0

tmux attach -t main