Skip to content

A script to quickly setup tmux sessions with predefined panes and window configurations

License

Notifications You must be signed in to change notification settings

Bergschrat1/tmux-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tmux-starter

A little script to setup your tmux session.

Installation

git clone [email protected]:Bergschrat1/tmux-starter.git && cd tmux-starter
pip install .

Usage

Create a file session_data.json at ~/.config/pymux/session_data.json. You can also place the configuration at a path that you can specify with the --config option when calling the script.

Have a look at session_data.json.example to get idea of how to configure your config file.

session_data.json is a list of dictionaries. Each dictionary represents a tmux session and has the keys name, windows and default.

  • name is the name of the session
  • windows is a list of dictonaries which, where each dictionary represents a window.
  • default is a boolean value and determines if this session is created when running the script without extra arguments (for startup)

For the window setup you can give the keys name, panes and commands to each dictionary.

  • name is the name of the window.
  • panes is an integer which determines the number of panes on that window.
  • commands is a list of strings. Each string represents a command that will be executed in the respective pane. If you want an empty pane you can just insert an empty string ("").

About

A script to quickly setup tmux sessions with predefined panes and window configurations

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages