Skip to main content

Quality of life tools for sway

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

swaytools-0.1.2.tar.gz (16.3 kB view details)

Uploaded Source

Built Distribution

swaytools-0.1.2-py3-none-any.whl (17.3 kB view details)

Uploaded Python 3

File details

Details for the file swaytools-0.1.2.tar.gz.

File metadata

  • Download URL: swaytools-0.1.2.tar.gz
  • Upload date:
  • Size: 16.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.1.dev0+g94f810c.d20240510 CPython/3.12.3

File hashes

Hashes for swaytools-0.1.2.tar.gz
Algorithm Hash digest
SHA256 cfd40e7bbeedaaed5bd0e39cb51a7bff2652e9058612f9f6ea56b929a0dbbd30
MD5 a144aaafc59a2b9238dfa4e9daa52405
BLAKE2b-256 fcc55ed5a6b11fd13b5c55b24a4bda947b5b7ae303f75ae6e4cb77cc433a5509

See more details on using hashes here.

File details

Details for the file swaytools-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: swaytools-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 17.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.1.dev0+g94f810c.d20240510 CPython/3.12.3

File hashes

Hashes for swaytools-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 08234831a3898a0ec654c014570719126e68752c5f663ff5bd4c3bff7982fb27
MD5 fb67849e02b47c08de44676a8c8c4298
BLAKE2b-256 0a452dc5cc52bd1710bab21845ee434300db97bd043266b6499b80401688deb8

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page