Created
September 29, 2015 10:18
-
-
Save omaraboumrad/e648dabeebaa06555994 to your computer and use it in GitHub Desktop.
tmux with cmatrix
This file contains 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
#!/bin/bash | |
# make sure cmatrix is installed | |
# make sure tmux is installed | |
# $ chmod 755 matrix | |
# $ ./matrix | |
SESSION=$USER | |
tmux -2 new-session -d -s $SESSION 'cmatrix' | |
tmux split-window -h -p 80 'cmatrix' | |
tmux split-window -h -p 20 'cmatrix' | |
tmux select-pane -t 1 | |
tmux split-window -v -p 80 | |
tmux split-window -v -p 20 'cmatrix' | |
tmux select-pane -t 2 | |
tmux attach |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See it running here: https://asciinema.org/a/27007