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.

Files for pmuxy, version 0.1.3
Filename, size File type Python version Upload date Hashes
Filename, size pmuxy-0.1.3-py3-none-any.whl (2.9 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size pmuxy-0.1.3.tar.gz (2.3 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page