From e6c01fc292daee49728d8f75c6e067a66c426a55 Mon Sep 17 00:00:00 2001 From: Cody Hiar Date: Mon, 23 Jan 2017 19:52:42 -0700 Subject: Adding a couple more templates --- templates/dashboard.yaml | 8 ++++++++ templates/databases.yaml | 10 ++++++++++ templates/template.yaml | 19 +++++++++++++++++++ 3 files changed, 37 insertions(+) create mode 100644 templates/dashboard.yaml create mode 100644 templates/databases.yaml create mode 100644 templates/template.yaml (limited to 'templates') 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 -- cgit v1.2.3