Last active
October 16, 2016 00:30
-
-
Save dmerrick/75ba63dbc1e531165155 to your computer and use it in GitHub Desktop.
~/.tmuxinator/workspace.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # ~/.tmuxinator/workspace.yml | |
| name: workspace | |
| root: ~/ | |
| # Optional tmux socket | |
| # socket_name: workspace | |
| # Runs before everything. Use it to start daemons etc. | |
| # pre: sudo /etc/rc.d/mysqld start | |
| # Runs in each window and pane before window/pane specific commands. | |
| # pre_window: export IGNOREEOF=5 | |
| # Pass command line options to tmux. Useful for specifying a different tmux.conf. | |
| # tmux_options: -f ~/.tmux.mac.conf | |
| windows: | |
| - primary: | |
| # ignore the first few CTRL-Ds (to prevent accidental closing) | |
| pre: export IGNOREEOF=3 | |
| # two panes at the top, one big one at the bottom | |
| layout: fa9d,191x90,0,0[191x15,0,0{95x15,0,0,0,95x15,96,0,2},191x74,0,16,3] | |
| panes: | |
| - pane_with_multiple_commands: | |
| - clear | |
| - fortune | cowsay | lolcat | |
| - tmux clock-mode -t %2 | |
| - tmux select-pane -t %3; clear | |
| - secondary: | |
| # ignore the first few CTRL-Ds (to prevent accidental closing) | |
| pre: export IGNOREEOF=3 | |
| # two panes at the top, one big one at the bottom | |
| layout: fa9d,191x90,0,0[191x15,0,0{95x15,0,0,0,95x15,96,0,2},191x74,0,16,3] | |
| panes: | |
| # update every 24 hours | |
| - watch -t -c -n 86400 "gcalcli --calendar 'Engineering' --calendar 'dana.merrick@grandrounds.com' agenda" | |
| - tmux clock-mode -t %4 | |
| - clear | |
| # other examples: | |
| #- server: bundle exec rails s | |
| #- logs: tail -f log/development.log |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment