Skip to content

Commit 9db9aa5

Browse files
committed
Add tmuxp with first session config for newscenter
1 parent 10c0108 commit 9db9aa5

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

install.conf.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
~/.config/ranger/rc.conf: ranger/rc.conf
2626
~/.config/ranger/scope.sh: ranger/scope.sh
2727
~/.config/ranger/rifle.conf: ranger/rifle.conf
28+
~/.tmuxp:
2829

2930
- shell:
3031
- [git submodule update --init --recursive, Installing submodules]

tmuxp/newscenter.yaml

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
session_name: newscenter
2+
start_directory: "${HOME}/projects/newscenter"
3+
windows:
4+
- window_name: backend
5+
focus: true # doesn't work. see https://github.com/tmux-python/tmuxp/issues/326
6+
start_directory: "./backend"
7+
layout: even-vertical
8+
shell_command_before:
9+
- workon celery
10+
panes:
11+
- shell_command:
12+
- docker start some-rabbit
13+
- python run.py
14+
focus: true
15+
- ls **/*.py | entr celery -A app:celery worker -Q hipri --loglevel=info
16+
- window_name: frontend
17+
start_directory: "./frontend"
18+
panes:
19+
- npm run build
20+
- window_name: zsh
21+
panes:
22+
- blank

0 commit comments

Comments
 (0)