Skip to main content

Manage Tmux session for selected folders and SSH hosts

Project description

xum - tmux session manager

Yes, it's another sessionizer using tmux and fzf. Inspired by ThePrimeagen's sessionizer, as most tmux sessionizers.

Dependencies

  • tmux
  • python (at least 3.13)
  • zoxide
  • fzf
  • make (devel only)

Installation

Currently only pipx, maybe in the future I'll release a standalone binary.

pipx install xum

Usage

xum is a simple Tmux session manager, it can be used to create, attach to and delete sessions.

There are four subcommands:

  • create: list available directories among the ones provided (see below) and open a new window of a new session.
  • here: create a new session in the current directory, for directory you visit less often.
  • switch: list the currently open sessions and attach to the selected one.
  • close: close selected session.

When creating new sessions xum uses three providers to generate a list of directories:

  • fd: list all directories in a collection of watchdirs (see [Configuration] below).
  • zoxide: list the directories in zoxide database.
  • custom_paths: return manually specified entries (see [Configuration] below).

Configuration

Configuration is performed by modifing the config file at ~/.config/xum/xum.toml.

Here is an example configuration:

# search paths for fd
search_paths = ["~/projects"]
# additional manual entries
custom_paths = ["~/dotfiles"]
  • search_paths Define the directories on which to run fd. This will look for all directories contained therein.

  • custom_paths You can add individual directories to the list of available paths.

Build from source

You can build your own version of xum using nuitka, which is a development requirement of the project. Ensure make is installed on your system. To build the binary use

make build

The binary can be found at build/xum. To install it just copy it to a directory which is on PATH, or run

make install

to install it to ~/.local/bin.

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

xum-0.3.0.tar.gz (18.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

xum-0.3.0-py3-none-any.whl (19.2 kB view details)

Uploaded Python 3

File details

Details for the file xum-0.3.0.tar.gz.

File metadata

  • Download URL: xum-0.3.0.tar.gz
  • Upload date:
  • Size: 18.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.9

File hashes

Hashes for xum-0.3.0.tar.gz
Algorithm Hash digest
SHA256 8788ffda1d41c8d35bca56cbc4561ec0d23a79420c7f3d60dbfa8649dd371d4a
MD5 eac14e42d1487403d3f620b88ce8fc00
BLAKE2b-256 f1df8b75674276925fb35e0a38472f5b8e1041fe339c6ae26c7ad374cbcc8895

See more details on using hashes here.

File details

Details for the file xum-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: xum-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 19.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.9

File hashes

Hashes for xum-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 845e9bb4d9b1e8fd88f751196efb2224434aeb6e389efad4c8e5f280d69b3811
MD5 8fa0582bbc2f95b4f7e195c49f3a6b50
BLAKE2b-256 917e32bc528bb11feb5c5215276a6c1a398654716edfed712ba2ccc30c94abcd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page