backup.window.sh 236 B

1234567891011121314
  1. #!/bin/sh
  2. # Create new window. If no argument is given, window name will be based on
  3. # layout file name.
  4. new_window "backup"
  5. run_cmd "backup mount /mnt/backup"
  6. # Split window into panes.
  7. split_v 50
  8. # Run commands.
  9. run_cmd "sudo -i"