aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
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