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

Download the binary from the Releases and place it into a directory that's on PATH.

Otherwise, using pipx

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.4.tar.gz (18.5 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.4-py3-none-any.whl (19.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: xum-0.3.4.tar.gz
  • Upload date:
  • Size: 18.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for xum-0.3.4.tar.gz
Algorithm Hash digest
SHA256 9869c0b4da2cf9abc74f6c100197cb0e533369756f7d3e9dae66ade229bd4b9c
MD5 77b758022e019a1a8d6c21a8c65d598a
BLAKE2b-256 3c50e2f70ad46f3422670917d2d76b16829a2dfa5f8822d773e34c42698f5256

See more details on using hashes here.

Provenance

The following attestation bundles were made for xum-0.3.4.tar.gz:

Publisher: python-publish.yml on pbignardi/xum

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: xum-0.3.4-py3-none-any.whl
  • Upload date:
  • Size: 19.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for xum-0.3.4-py3-none-any.whl
Algorithm Hash digest
SHA256 134e4691a778fef9fcc620e340fd7275875f6f5eee0e745b4dda694f3bf1ccc4
MD5 2b0711a9aa49fa31ca548c6e6a1ff767
BLAKE2b-256 8df63c875a56d866a78fb8c37e4195610b0850fde0a816f4447ed1bdcd80d0b7

See more details on using hashes here.

Provenance

The following attestation bundles were made for xum-0.3.4-py3-none-any.whl:

Publisher: python-publish.yml on pbignardi/xum

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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