123456789101112131415161718192021222324252627 |
- #!/bin/sh
- # Set window root path. Default is `$session_root`.
- # Must be called before `new_window`.
- window_root "/home/oleg/src/git.savannah.gnu.org/git/guix"
- # Create new window. If no argument is given, window name will be based on
- # layout file name.
- new_window "guix"
- # Split window into panes.
- #split_v 20
- #split_h 50
- # Run commands.
- run_cmd 'git-cal --author="Oleg Pykhalov"'
- #run_cmd "top" # runs in active pane
- #run_cmd "date" 1 # runs in pane 1
- # Paste text
- #send_keys "top" # paste into active pane
- #send_keys "date" 1 # paste into pane 1
- # Set active pane.
- #select_pane 0
|