Skip to main content

Rofi script to launch tmuxp sessions

Project description

Use Rofi to launch tmuxp sessions.

https://img.shields.io/pypi/v/rofi-tmuxp.svg https://img.shields.io/pypi/pyversions/rofi-tmuxp.svg https://img.shields.io/pypi/format/rofi-tmuxp.svg https://github.com/heindsight/rofi-tmuxp/actions/workflows/test.yaml/badge.svg?branch=develop https://img.shields.io/badge/code%20style-black-000000.svg

Installation

$ pip install rofi-tmuxp

Note

The rofi-tmuxp script uses the tmuxp python API to find your tmuxp session config files. This means that you should install it in the same Python environment as tmuxp.

Usage

Without any command-line arguments, rofi-tmuxp will print out a list of tmuxp session names to standard output. If a session name is passed as an argument, it will attempt to launch that session in a new terminal.

To use with rofi, you will need to add rofi-tmuxp as a “script” mode to you rofi config file. E.g.

configuration {
    /* Enable run and tmuxp modes */
    modi: "run,tmuxp:rofi-tmuxp";
}

Then you can run rofi like:

rofi -show tmuxp

License

Copyright (c) Heinrich Kruger. Distributed under the MIT license.

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

rofi-tmuxp-0.2.0rc6.tar.gz (5.8 kB view details)

Uploaded Source

Built Distribution

rofi_tmuxp-0.2.0rc6-py2.py3-none-any.whl (4.1 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file rofi-tmuxp-0.2.0rc6.tar.gz.

File metadata

  • Download URL: rofi-tmuxp-0.2.0rc6.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for rofi-tmuxp-0.2.0rc6.tar.gz
Algorithm Hash digest
SHA256 81a89a942c7a14b912f212d1679bce10b857ed641822bd31f09715035d4cf6b0
MD5 850782f2284f4059c99dd7235751119d
BLAKE2b-256 c2475c6a19e83bfe8d722e1cc50eaa86c990bb6419e3acc03c4a9807db20e0d5

See more details on using hashes here.

File details

Details for the file rofi_tmuxp-0.2.0rc6-py2.py3-none-any.whl.

File metadata

  • Download URL: rofi_tmuxp-0.2.0rc6-py2.py3-none-any.whl
  • Upload date:
  • Size: 4.1 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for rofi_tmuxp-0.2.0rc6-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 9ec074a7990597534730fe4af5e3b64012e50fa5b3ac21df8a5bec054e2f5854
MD5 9ec2a5cc493a7cbb31d606e91e60d20e
BLAKE2b-256 b0fb86d224e29b3e4ef2eeeb2e9e6a836237e7469c901e3df81171c24d9d962c

See more details on using hashes here.

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