Open tmux sessions with rofi
Find a file
2025-01-18 10:08:06 +00:00
src Initial commit 2025-01-17 16:56:59 +00:00
.gitignore Initial commit 2025-01-17 16:56:59 +00:00
Cargo.lock Initial commit 2025-01-17 16:56:59 +00:00
Cargo.toml Initial commit 2025-01-17 16:56:59 +00:00
LICENSE add license 2025-01-17 16:59:07 +00:00
README.md Update README.md 2025-01-18 10:08:06 +00:00

rofi-tmux-session

Generates output for rofi that lists active sessions. Selecting one will open a terminal and attach it to that session.

Install

First clone the repository, and enter the cloned directory

git clone https://git.temporus.me/temporus.me/rofi-tmux-session
cd rofi-steam

Then install it

# This installs it to ~/.cargo/bin

cargo install --path .

# Or if you want to install to a prefix else where, for example This
# will install the binary to ~/.local/bin, --root argument acts like a prefix
# so bin will be added automatically by cargo

cargo install --path . --root ~/.local

Usage

To use as a mode in rofi you need to add it to your modes list

Simplest example would be:

rofi -modes "tmux:rofi-tmux-session" -show "tmux"