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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file pmuxy-0.1.3.tar.gz.

File metadata

  • Download URL: pmuxy-0.1.3.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.5

File hashes

Hashes for pmuxy-0.1.3.tar.gz
Algorithm Hash digest
SHA256 ab133200cde0496e0c2c5e3c734060cb9e975ff5eaf4c0e994910e15e4059799
MD5 cf6899de2351ad68dbc3077a84858838
BLAKE2b-256 3a765235d89f28d8aeefc79b32804868316c5f8e48c9ab69e0370c3a0cea2207

See more details on using hashes here.

File details

Details for the file pmuxy-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: pmuxy-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 2.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.5

File hashes

Hashes for pmuxy-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 b50cfc8549202945b7abc6a2e1844cf54481a051cbfb4a5db7729ef412e7a2c9
MD5 9dcd0db7c213c73d5fb4bf9168974b64
BLAKE2b-256 b2fbed727b856544102a00532c721a0b0ee82601121f7037f06af89e02024026

See more details on using hashes here.

Supported by

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