Skip to main content

i3-move

Move i3 window manager containers using a container id (con_id).

You can use the related i3-query (but the same other) to get container ids. The logic for this code is in i3-query - this exists for discoverability.

AI-generated and unreviewed.

Motivation

I was trying to deal with orphaned containers but what having difficulty debugging code so started making "easier" tools for this.

Installation

pipx install i3-move

Usage

Move containers by their con_id:

# Move focused window to container with ID 12345
i3-move focused 12345

# Move container 67890 to container 12345
i3-move 67890 12345

How it works

i3 doesn't have a direct "move to con_id" command, so i3-move handles the mark-based workaround for you:

  1. Marks the target container with a temporary mark
  2. Moves the source container to that mark
  3. Removes the mark

This is the official i3 way to move containers to specific container IDs.

Alternatives and prior work

You can do this programmatically using i3ipc

Metadata

Release files for i3-move 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for i3-move 0.1.0
File Size Uploaded Provenance Actions
i3_move-0.1.0.tar.gz 2.2 kB Without provenance Details for i3_move-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for i3-move 0.1.0
File Interpreter ABI Platform Actions
i3_move-0.1.0-py3-none-any.whl Python 3 none any Details for i3_move-0.1.0-py3-none-any.whl

Total release size: 4.9 kB

Release files / i3_move-0.1.0.tar.gz

Download URL i3_move-0.1.0.tar.gz
Size 2.2 kB
Tags Source
SHA-256 checksum
How to use checksums
2ca90d6b05c4c187835b5baa838bbefd3649fd3b6c36f61975cb29cfd324511b
BLAKE2b-256 checksum
How to use checksums
147158fab6521e823096caeedb03ec7f6393c5c8d2e733b432eac9441a5c35d1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release files / i3_move-0.1.0-py3-none-any.whl

Download URL i3_move-0.1.0-py3-none-any.whl
Size 2.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7dbdedbc13f2895e3c6e50ded12cd7452a0f6cb682fe3123678bfb5d1c00163b
BLAKE2b-256 checksum
How to use checksums
55d6826994fb637091bda4e0fd52d79e7300272b93d52a94870877e160953e27
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Security for i3-move 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page