Skip to main content

i3-orphan

Detect and reparent orphan tabbed/stacked containers in i3.

An orphan container is a tabbed or stacked container with only one child window.

AI-generated and unreviewed.

Installation

pipx install i3-orphan

Usage

# Check if focused window's parent is an orphan
i3-orphan is

# List all orphan containers
i3-orphan list

# Reparent focused window to grandparent (removes orphan)
i3-orphan reparent

# Reparent all orphans recursively
i3-orphan reparent-all

Examples

# Check and reparent if orphan
if i3-orphan is; then
    i3-orphan reparent
fi

# Clean up all orphans in your workspace
i3-orphan reparent-all

How it works

This tool uses i3ipc directly:

  • i3-orphan is checks if focused.parent is tabbed/stacked with only 1 child
  • i3-orphan reparent moves focused to its grandparent using marks
  • i3-orphan reparent-all recursively processes all orphans until none remain

Metadata

Release files for i3-orphan 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-orphan 0.1.0
File Size Uploaded Provenance Actions
i3_orphan-0.1.0.tar.gz 3.0 kB Without provenance Details for i3_orphan-0.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 6.6 kB

Release files / i3_orphan-0.1.0.tar.gz

Download URL i3_orphan-0.1.0.tar.gz
Size 3.0 kB
Tags Source
SHA-256 checksum
How to use checksums
3dd5a2ab49d04ed899f4c59308b7881ed6cb9fbc32e251c8a1d6a3bcbd8d8fff
BLAKE2b-256 checksum
How to use checksums
8b20650a9df49d54dd8e1c7350414478bd85abb5414347ea97823b033d3c07c3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

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

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

Security for i3-orphan 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