Skip to content

heindsight/rofi-tmuxp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rofi TmuxP

Use Rofi to launch tmuxp sessions.

image

image

image

image

image

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.