Skip to main content

A tmux windows manager

Project description

PyPI version

pmuxy

A simple tmux windows manager.

Install

$ pip3 install pmuxy

Commands

List all configurations under ~/.pmuxy:

$ pmuxy list

Open a configuration:

$ pmuxy open <configuration>

pmuxy will look for the first session on the tmux server and open a new window in there.

Configuration

Configuration files are simple yaml files and they should be stored under ~/.pmuxy

Example file:

window_name: test-window
attach: false
shell_commands:
  - export TEST_VAR=test #Sets a new variable
tmux_commands:
  - select-pane -P bg=colour236 #The first pane will have the background color 236
  • window_name - The new window name.
  • attach - Boolean to tell pmuxy whether we want to attach to the new window or no, defaults to true.
  • shell_commands - These commands will be launched on the shell within the first pane of the new window.
  • tmux_commands - These commands will be launched on the new tmux window.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pmuxy-0.1.3.tar.gz (2.3 kB view hashes)

Uploaded Source

Built Distribution

pmuxy-0.1.3-py3-none-any.whl (2.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page