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=master 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.6.0.tar.gz (7.5 kB view details)

Uploaded Source

Built Distribution

rofi_tmuxp-0.6.0-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file rofi_tmuxp-0.6.0.tar.gz.

File metadata

  • Download URL: rofi_tmuxp-0.6.0.tar.gz
  • Upload date:
  • Size: 7.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for rofi_tmuxp-0.6.0.tar.gz
Algorithm Hash digest
SHA256 dcce4f893ae329a2e5cf2d8fe0628484cd6c574404784836029c063bd6c87ec3
MD5 0ef49f948171d5cf7e3a6e34ef6ab4af
BLAKE2b-256 bd40608e4f8a4345059a9fa55f755e79c77293f76f18898453622fa74fe494de

See more details on using hashes here.

File details

Details for the file rofi_tmuxp-0.6.0-py3-none-any.whl.

File metadata

  • Download URL: rofi_tmuxp-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 5.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for rofi_tmuxp-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 07225f6b01c50c814a404d0ef8df594c775bc0087e46bd34eee31eaeff238a89
MD5 51d44bc35889b112b5bc90c258dc00fe
BLAKE2b-256 5e2b87aba05f4adf85982b41d15f8820cf6a93bdedb6f4000b0d7ac387625958

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