19 lines
550 B
Bash
Executable File
19 lines
550 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
session="main"
|
|
|
|
tmux attach-session -t $session || tmux new-session -s $session \; \
|
|
rename-window todo \; \
|
|
send-keys -t 0 "task" C-m \; \
|
|
new-window -n zk \; \
|
|
send-keys -t 0 "nvim $ZK_PATH/index.md" C-m \; \
|
|
new-window -n music \; \
|
|
send-keys -t 0 "ncspot" C-m \; \
|
|
new-window -n term \; \
|
|
new-window -n make \; \
|
|
split-window -h \; \
|
|
split-window -h \; \
|
|
send-keys -t 0 'cd "$ZK_PATH" && ./entr' C-m \; \
|
|
send-keys -t 1 'cd "$ZK_PATH" && live-server . --watch=*.html' C-m \; \
|
|
select-window -t 2 \;
|