i3-query
Query i3 tree using XPath-inspired path syntax.
AI-generated and unreviewed.
Installation
pipx install i3-query
Usage
Query the i3 window tree using dot-separated paths:
# Get the ID of the focused window
i3-query focused.id
# Get the ID of the parent container
i3-query focused.parent.id
# Get the ID of the grandparent container
i3-query focused.parent.parent.id
# Get the layout of the parent
i3-query focused.parent.layout
# Get the workspace name
i3-query focused.workspace.name
Inspiration
Inspired by XPath for navigating XML/HTML documents. Uses an object style dot syntax because you want to understand xpath.
Use Cases
- Debugging container hierarchies
- Finding container IDs for use with i3-msg commands
Metadata
Release files for i3-query 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| i3_query-0.1.0.tar.gz | 3.6 kB | Without provenance | Details for i3_query-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| i3_query-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for i3_query-0.1.0-py3-none-any.whl |
Total release size: 7.7 kB
Release files / i3_query-0.1.0.tar.gz
| Download URL | i3_query-0.1.0.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3a3a9e6ce02eff366b9fbdb4dc4e8ddf72aa0658244260d18b2fbb03d3119ef1
|
|
BLAKE2b-256 checksum How to use checksums |
384b40e5f2fa94150895801887962f1d4a93bcb250fbfa7736877ea809dd6c3b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Release files / i3_query-0.1.0-py3-none-any.whl
| Download URL | i3_query-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ee3fc6d36f5e55e402dd71c1f215cd39ca37865c10b70437392fe40d52985907
|
|
BLAKE2b-256 checksum How to use checksums |
249a82094dc9d891a030ad8ff33d2dafe951fb95a36aee5b75a5dd92429ded03
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Security for i3-query 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.