Rofi script to launch tmuxp sessions


Keywords
rofi, tmux, tmuxp
License
MIT
Install
pip install rofi-tmuxp==0.5.0

Documentation

Rofi TmuxP

Use Rofi to launch tmuxp sessions.
https://github.com/heindsight/rofi-tmuxp/actions/workflows/test.yaml/badge.svg?branch=develop

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.