Skip to main content

configure and control tmux

Project description

configure and control tmux

setup

sudo apt-get install \
    cmus             \
    elinks           \
    htop             \
    nvtop            \
    ranger           \
    tmux

sudo pip install tmux_control

configurations

analysis mode

This mode is designed to be ergonomic for running an analysis. The bottom terminal runs the main analysis code while ranger allows for quick viewing of ongoing analysis output files.

-----------------------
|                     |
|       ranger        |
|                     |
|                     |
|---------------------|
|                     |
|      terminal       |
|                     |
|                     |
-----------------------

badass mode

-----------------------
| ranger   |          |
|----------|          |
| terminal |          |
|----------|          |
| htop     |  ranger  |
|----------|          |
| arXiv    |          |
|----------|          |
| cmus     |          |
-----------------------

detail mode

This mode is designed to be a less fun version of badass mode.

-----------------------
|          |          |
| ranger   |          |
|----------|          |
| terminal |          |
|----------|  ranger  |
| htop     |          |
|----------|          |
| arXiv    |          |
|          |          |
-----------------------

edit mode (default)

This mode is designed to be ergonomic for coding.

-----------------------
|          |          |
|          |          |
|          |          |
|          |          |
| terminal |  ranger  |
|          |          |
|          |          |
|          |          |
|          |          |
-----------------------

Nvidia mode

This mode is designed to display system resource usage for a system featuring Nvidia hardware.

-----------------------
|                     |
|        htop         |
|                     |
|                     |
|---------------------|
|                     |
|        nvtop        |
|                     |
|                     |
-----------------------

run mode

This special mode launches all of the scripts at a defined directory in separate windows. It is used by engaging the option --run, optionally together with the --directory option used to set the directory with a full or relative path (by default, the directory “scripts” at the working directory) and the --extension option used to define the extension of the scripts (by default, “sh”, and which can be set to “none” for any extensions).

For example, the following command should run all files, regardless of extensions, at the directory /home/user/run_scripts:

tmux-control.py --run --directory=/home/user/run_scripts --extension=none
-----------------------
|                     |
|                     |
|                     |
|                     |
|      scripts        |
|                     |
|                     |
|                     |
|                     |
-----------------------

work mode

This mode is designed to be a compromise between analysis, edit and badass modes.

-----------------------
|                     |
|       ranger        |
|---------------------|
|                     |
|      terminal       |
|---------------------|
|          |          |
|  ranger  |  cmus    |
|          |          |
-----------------------

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

tmux-control-2024.5.8.1442.tar.gz (17.4 kB view details)

Uploaded Source

File details

Details for the file tmux-control-2024.5.8.1442.tar.gz.

File metadata

  • Download URL: tmux-control-2024.5.8.1442.tar.gz
  • Upload date:
  • Size: 17.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.12

File hashes

Hashes for tmux-control-2024.5.8.1442.tar.gz
Algorithm Hash digest
SHA256 bf5f8162eafe12cd99af56d7d0997c7d4c15eba63a18e210e9d73f8948679b72
MD5 bc0405aaa8fd3c1aa3f73b1eff934d7a
BLAKE2b-256 f7b4988262ad8f3b0dd7a6430553b3ce2f44965d8573217ac6f946879c032770

See more details on using hashes here.

Supported by

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