Skip to main content

swaytools

Collection of simple tools for sway (and i3)

Installation

Archlinux

swaytools is availabe in the AUR

Pip

swaytools is available from PyPI:

$ pip install --user swaytools

Available tools

swayinfo: Tool similar to xprop that lets you click on a window, and prints info on that window (retrieved from sway's tree).

winfocus: Program that uses dmenu/bemenu or similar to let you select a window from a menu and focuses that window.

Dependencies

Required:

  • python
  • sway (or i3, though that isn't tested)

Optional:

  • slurp: for selecting the window with swayinfo
  • bemenu, dmenu or other dmenu compatible program: needed for winfocus

Environment Variables

DMENU_CMD: A dmenu compatible command to use for menu selection. Used by winfocus

Metadata

Release files for swaytools 0.1.2

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

Source distribution (sdist)

Source distribution for swaytools 0.1.2
File Size Uploaded
swaytools-0.1.2.tar.gz 16.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for swaytools 0.1.2
File Interpreter ABI Platform
swaytools-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 33.6 kB

Release files / swaytools-0.1.2.tar.gz

Download URL swaytools-0.1.2.tar.gz
Size 16.3 kB
Tags Source
SHA-256 checksum
How to use checksums
cfd40e7bbeedaaed5bd0e39cb51a7bff2652e9058612f9f6ea56b929a0dbbd30
BLAKE2b-256 checksum
How to use checksums
fcc55ed5a6b11fd13b5c55b24a4bda947b5b7ae303f75ae6e4cb77cc433a5509
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.1.dev0+g94f810c.d20240510 CPython/3.12.3

Release files / swaytools-0.1.2-py3-none-any.whl

Download URL swaytools-0.1.2-py3-none-any.whl
Size 17.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
08234831a3898a0ec654c014570719126e68752c5f663ff5bd4c3bff7982fb27
BLAKE2b-256 checksum
How to use checksums
0a452dc5cc52bd1710bab21845ee434300db97bd043266b6499b80401688deb8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.1.dev0+g94f810c.d20240510 CPython/3.12.3

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.0

2 release files

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