tmuxinator: add bin and config to launch generic project
This commit is contained in:
parent
52f3049a7b
commit
8b3d3244dd
2
bin/myproject
Executable file
2
bin/myproject
Executable file
@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
rofi-sensible-terminal -name $1-$2 -e tmuxinator start $1-$2
|
@ -206,8 +206,9 @@ workspace 10 output $rightoutput
|
||||
assign [class="^Firefox" instance="^Navigator$"] workspace 2
|
||||
assign [class="^Thunderbird"] workspace 10
|
||||
|
||||
assign [class="^URxvt$" instance="^lesportecles-code$"] workspace 3
|
||||
assign [class="^URxvt$" instance="-code$"] workspace 3
|
||||
assign [class="^URxvt$" instance="^lesportecles-rails$"] workspace 8
|
||||
assign [class="^URxvt$" instance="-server$"] workspace 8
|
||||
|
||||
bindsym XF86Calculator exec urxvtc -name float
|
||||
for_window [class="^URxvt$" instance="^float$"] floating enable
|
||||
|
6
tmuxinator/myproject-code.yml
Normal file
6
tmuxinator/myproject-code.yml
Normal file
@ -0,0 +1,6 @@
|
||||
name: myproject-c
|
||||
root: ~/prog/myproject
|
||||
tmux_command: tmux -2
|
||||
|
||||
windows:
|
||||
- editor:
|
9
tmuxinator/myproject-server.yml
Normal file
9
tmuxinator/myproject-server.yml
Normal file
@ -0,0 +1,9 @@
|
||||
name: myproject-r
|
||||
root: ~/prog/myproject
|
||||
tmux_command: tmux -2
|
||||
|
||||
windows:
|
||||
- server: docker-compose up -d; docker attach myproject_app_1
|
||||
- console: docker-compose run app bin/rails c
|
||||
- prod:
|
||||
|
Loading…
x
Reference in New Issue
Block a user