dots/.bin/tmux-workspace

14 lines
376 B
Plaintext
Raw Normal View History

2021-12-31 16:19:17 +01:00
#!/usr/bin/env bash
session="main"
tmux attach-session -t $session || tmux new-session -s $session \; \
2024-01-28 20:34:43 +01:00
rename-window task \; \
send-keys -t 1 "task" C-m \; \
2023-05-01 15:34:27 +02:00
new-window -n zk \; \
2024-01-28 20:34:43 +01:00
send-keys -t 2 "nvim $ZK_PATH/index.md" C-m \; \
2021-12-31 16:19:17 +01:00
new-window -n term \; \
2024-01-28 20:34:43 +01:00
new-window -n music \; \
send-keys -t 4 "echo 'TODO: open music player'" C-m \; \
select-window -t 1 \;