guix.window.sh 598 B

123456789101112131415161718192021222324252627
  1. #!/bin/sh
  2. # Set window root path. Default is `$session_root`.
  3. # Must be called before `new_window`.
  4. window_root "/home/oleg/src/git.savannah.gnu.org/git/guix"
  5. # Create new window. If no argument is given, window name will be based on
  6. # layout file name.
  7. new_window "guix"
  8. # Split window into panes.
  9. #split_v 20
  10. #split_h 50
  11. # Run commands.
  12. run_cmd 'git-cal --author="Oleg Pykhalov"'
  13. #run_cmd "top" # runs in active pane
  14. #run_cmd "date" 1 # runs in pane 1
  15. # Paste text
  16. #send_keys "top" # paste into active pane
  17. #send_keys "date" 1 # paste into pane 1
  18. # Set active pane.
  19. #select_pane 0