Metadata-Version: 2.1
Name: swaytools
Version: 0.1.2
Summary: Quality of life tools for sway
Author: Thayne McCombs
Maintainer: Thayne McCombs
License: GPL3
Project-URL: Repository, https://github.com/tmccombs/swaytools
Project-URL: Issues, https://github.com/tmccombs/swaytools/issues
Keywords: sway,tools,i3
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Desktop Environment
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE

# swaytools
Collection of simple tools for sway (and i3)

## Installation

### Archlinux

swaytools is availabe in the [AUR](https://aur.archlinux.org/packages/swaytools/)

### Pip

swaytools is available from [PyPI](https://pypi.org/project/swaytools/):

```
$ 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`
