aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorCody Hiar <codyfh@gmail.com>2017-01-23 19:52:42 -0700
committerCody Hiar <codyfh@gmail.com>2017-01-23 19:52:42 -0700
commite6c01fc292daee49728d8f75c6e067a66c426a55 (patch)
treeb262bdf7934b9db7b2aab417983f5b04dba9c571 /templates
parent135b3b10d552920ab56d545a38929c95d74a33de (diff)
Adding a couple more templates
Diffstat (limited to 'templates')
-rw-r--r--templates/dashboard.yaml8
-rw-r--r--templates/databases.yaml10
-rw-r--r--templates/template.yaml19
3 files changed, 37 insertions, 0 deletions
diff --git a/templates/dashboard.yaml b/templates/dashboard.yaml
new file mode 100644
index 0000000..97fac24
--- /dev/null
+++ b/templates/dashboard.yaml
@@ -0,0 +1,8 @@
+session_name: dashboard
+windows:
+ - window_name: live
+ layout: even-vertical
+ panes:
+ - htop
+ - weechat
+ - tmux split-window -h && gcalcli calw -w 15
diff --git a/templates/databases.yaml b/templates/databases.yaml
new file mode 100644
index 0000000..70a3e66
--- /dev/null
+++ b/templates/databases.yaml
@@ -0,0 +1,10 @@
+session_name: databases
+windows:
+ - window_name: postgres
+ panes:
+ - cd ~/Work/mine/postgres-docker
+ - cd ~/Work/mine/postgres-docker
+ - window_name: mysql
+ panes:
+ - cd ~/Work/mine/mysql-docker
+ - cd ~/Work/mine/mysql-docker
diff --git a/templates/template.yaml b/templates/template.yaml
new file mode 100644
index 0000000..525c644
--- /dev/null
+++ b/templates/template.yaml
@@ -0,0 +1,19 @@
+session_name: "${PROJECT}"
+start_directory: "~/Work/lift/projects/${PROJECT}/code"
+shell_command_before: make up
+windows:
+ - window_name: code
+ layout: even-vertical
+ focus: true
+ panes:
+ - shell_command:
+ - nvim
+ focus: true
+ - shell_command:
+ - tmux resizep -t 2 -y 20; tmux resize-pane -Z -t 1; clear
+ - window_name: docker
+ layout: even-vertical
+ panes:
+ - make enter
+ - make enter
+ - make enter