From ff0740c8c47a3843761d89c35efcbf4d2c5c2bd6 Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Thu, 8 Sep 2022 13:15:42 +0200 Subject: Update README and add new mux project --- .config/tmuxinator/infra.yml | 57 ++++++++++++++++++++++++++++++++++++++++++++ README.md | 3 +-- 2 files changed, 58 insertions(+), 2 deletions(-) create mode 100644 .config/tmuxinator/infra.yml diff --git a/.config/tmuxinator/infra.yml b/.config/tmuxinator/infra.yml new file mode 100644 index 0000000..f2259e3 --- /dev/null +++ b/.config/tmuxinator/infra.yml @@ -0,0 +1,57 @@ +# /Users/a14m/.config/tmuxinator/infra.yml + +name: infra +root: ~/Work/Space/infra + +# Optional tmux socket +# socket_name: foo + +# Note that the pre and post options have been deprecated and will be replaced by +# project hooks. + +# Project hooks + +# Runs on project start, always +# on_project_start: command + +# Run on project start, the first time +# on_project_first_start: command + +# Run on project start, after the first time +# on_project_restart: command + +# Run on project exit ( detaching from tmux session ) +# on_project_exit: command + +# Run on project stop +# on_project_stop: command + +# Runs in each window and pane before window/pane specific commands. Useful for setting up interpreter versions. +# pre_window: rbenv shell 2.0.0-p247 + +# Pass command line options to tmux. Useful for specifying a different tmux.conf. +# tmux_options: -f ~/.tmux.mac.conf + +# Change the command to call tmux. This can be used by derivatives/wrappers like byobu. +# tmux_command: byobu + +# Specifies (by name or index) which window will be selected on project startup. If not set, the first window is used. +# startup_window: editor + +# Specifies (by index) which pane of the specified window will be selected on project startup. If not set, the first pane is used. +# startup_pane: 1 + +# Controls whether the tmux session should be attached to automatically. Defaults to true. +# attach: false + +windows: + - kms: + layout: even-horizontal + panes: + - cd kms && clear + - cd kms && clear + - vault: + layout: even-horizontal + panes: + - cd vault && clear + - cd vault && clear diff --git a/README.md b/README.md index 44674f8..e9c1d9e 100644 --- a/README.md +++ b/README.md @@ -50,9 +50,8 @@ ln -sf ~/.rc/.ssh/config ~/.ssh/config mkdir -p ~/.config/htop ~/.config/wtf ~/.config/tmuxinator ln -sf ~/.rc/.config/htop/htoprc ~/.config/htop/htoprc ln -sf ~/.rc/.config/wtf/config.yml ~/.config/wtf/config.yml -ln -sf ~/.rc/.config/tmuxinator/vpn.yml ~/.config/tmuxinator/vpn.yml -ln -sf ~/.rc/.config/tmuxinator/ee.yml ~/.config/tmuxinator/ee.yml ln -sf ~/.rc/.config/tmuxinator/spc.yml ~/.config/tmuxinator/spc.yml +ln -sf ~/.rc/.config/tmuxinator/infra.yml ~/.config/tmuxinator/infra.yml cd ~/.rc git remote remove origin -- cgit v1.2.3