summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-x.scripts/stm23
1 files changed, 23 insertions, 0 deletions
diff --git a/.scripts/stm b/.scripts/stm
new file mode 100755
index 0000000..991e3d8
--- /dev/null
+++ b/.scripts/stm
@@ -0,0 +1,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