Update 'tmux-workspace' script
parent
3d1fe7b173
commit
93f223c1ec
|
@ -3,16 +3,11 @@
|
||||||
session="main"
|
session="main"
|
||||||
|
|
||||||
tmux attach-session -t $session || tmux new-session -s $session \; \
|
tmux attach-session -t $session || tmux new-session -s $session \; \
|
||||||
rename-window todo \; \
|
rename-window task \; \
|
||||||
send-keys -t 0 "task" C-m \; \
|
send-keys -t 1 "task" C-m \; \
|
||||||
new-window -n zk \; \
|
new-window -n zk \; \
|
||||||
send-keys -t 0 "nvim $ZK_PATH/index.md" C-m \; \
|
send-keys -t 2 "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 term \; \
|
||||||
new-window -n make \; \
|
new-window -n music \; \
|
||||||
split-window -h \; \
|
send-keys -t 4 "echo 'TODO: open music player'" C-m \; \
|
||||||
split-window -h \; \
|
select-window -t 1 \;
|
||||||
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 \;
|
|
||||||
|
|
Loading…
Reference in New Issue