guix.session.sh 693 B

12345678910111213141516171819202122232425
  1. #!/bin/sh
  2. # Set a custom session root path. Default is `$HOME`.
  3. # Must be called before `initialize_session`.
  4. # session_root "/home/oleg/src/git.savannah.gnu.org/git/guix"
  5. # Create session with specified name if it does not already exist. If no
  6. # argument is given, session name will be based on layout file name.
  7. if initialize_session "guix"; then
  8. # Create a new window inline within session layout definition.
  9. #new_window "misc"
  10. # Load a defined window layout.
  11. load_window "guix"
  12. # load_window "guix-machines"
  13. # Select the default active window on session creation.
  14. #select_window 1
  15. fi
  16. # Finalize session creation and switch/attach to it.
  17. finalize_and_go_to_session