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 ischecks iffocused.parentis tabbed/stacked with only 1 childi3-orphan reparentmoves focused to its grandparent using marksi3-orphan reparent-allrecursively processes all orphans until none remain
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
i3_orphan-0.1.0.tar.gz
(3.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file i3_orphan-0.1.0.tar.gz.
File metadata
- Download URL: i3_orphan-0.1.0.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3dd5a2ab49d04ed899f4c59308b7881ed6cb9fbc32e251c8a1d6a3bcbd8d8fff
|
|
| MD5 |
4bbb163117ff05350e1dabad8eb3d862
|
|
| BLAKE2b-256 |
8b20650a9df49d54dd8e1c7350414478bd85abb5414347ea97823b033d3c07c3
|
File details
Details for the file i3_orphan-0.1.0-py3-none-any.whl.
File metadata
- Download URL: i3_orphan-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e92466e0c01adcc9bb3fdd02db7713bf8899e9757e535483d349ca2a55066d80
|
|
| MD5 |
41553f73700c0459428016418e4467ae
|
|
| BLAKE2b-256 |
c175f88c0a2d0fb6d2677341a07e5baf6305d5a1f56e903892316764cea15399
|