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.2.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.2-py3-none-any.whl (19.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: xum-0.3.2.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.2.tar.gz
Algorithm Hash digest
SHA256 85557872daca48cf0f903cb2afb86cabd233a1ba601883ffe6c4bbf2309dcb06
MD5 501f8f3295e7bf05b4e9fdb4444a04c0
BLAKE2b-256 5de3ac63f9973c264ddbf494dc4ab1c41977d4dce0feb9f5ae650b5d7a74e082

See more details on using hashes here.

Provenance

The following attestation bundles were made for xum-0.3.2.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.2-py3-none-any.whl.

File metadata

  • Download URL: xum-0.3.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e79d680db6cf469a2cee237f23496a4bbe0c65d59829ea3166abddadc1bae4b0
MD5 8080edf4ef18cd0b5e60ec10a6c314ad
BLAKE2b-256 f5c7a4e1804dbaaf4052192ae79e2735c637b054a3d79c976945abcf074b11be

See more details on using hashes here.

Provenance

The following attestation bundles were made for xum-0.3.2-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