A tool for combining tmuxp configs.
Why?
tmux is a great tool. In some cases, you would like to start it with preconfigured windows instead of creating them manually each time. tmuxp is a great tool for doing that.
I found out that in some cases I wanted to load only a subset of particular windows, so I wrote simple tool which combines the configs and calls tmuxp with combined config.
Sample config
~/.tmuxp-combine/mysession/base.yml:
session_name: mysession
start_directory: ~/projects/myproject
~/.tmuxp-combine/mysession/windows/docker.yml:
window_name: docker
layout: main-vertical
panes:
- shell_command:
- cd .
focus: true
- shell_command:
- docker-compose up
~/.tmuxp-combine/mysession/windows/nodejs.yml:
window_name: nodejs
layout: main-vertical
panes:
- shell_command:
- cd .
focus: true
- shell_command:
- npm run serve
Running the mysession in tmux only with nodejs window:
tmuxp-combine load mysession -w nodejs
Running the mysession in tmux only with nodejs and docker windows:
tmuxp-combine load mysession -w nodejs -w docker
Running the mysession in tmux with all windows:
tmuxp-combine load mysession
Metadata
Release files for tmuxp-combine 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| tmuxp-combine-0.0.2.tar.gz | 5.4 kB | Without provenance | Details for tmuxp-combine-0.0.2.tar.gz |
Release files / tmuxp-combine-0.0.2.tar.gz
| Download URL | tmuxp-combine-0.0.2.tar.gz |
|---|---|
| Size | 5.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4212bb455a88d5a78ef2e0043b2e34c1474b21d1f0f9ac8230ef8fa6463eebbd
|
|
BLAKE2b-256 checksum How to use checksums |
7be5513ba8daa261affce3279204bc441b34c15c35313bd9e6ca46cee14db696
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for tmuxp-combine 0.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.