Collection of simple tools for sway (and i3)
swaytools is availabe in the AUR
swaytools is available from PyPI:
$ pip install --user swaytools
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.
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
DMENU_CMD: A dmenu compatible command to use for menu selection. Used by winfocus