Metadata-Version: 2.1
Name: sway-xkb-switcher
Version: 0.2.2
Summary: Keyboard layout switcher for sway windows
Home-page: https://github.com/nmukhachev/sway-xkb-switcher
License: MIT
Author: Innokenty Lebedev
Requires-Python: >=3.7,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Requires-Dist: i3ipc (>=2.1.1,<3.0.0)
Project-URL: Repository, https://github.com/nmukhachev/sway-xkb-switcher
Description-Content-Type: text/markdown

sway-xkb-switcher
===============

## Description

This app records keyboard layout for a sway windows when you leave them.
And when you come back it is restore keyboard layout.

This project is forked from https://github.com/inn0kenty/i3-xkb-switcher
and adapted to work with sway window manager.

This project is under construction yet.

## Install

```bash
$ pip install sway-xkb-switcher
```

Also you can download compiled binary from [release page](https://github.com/nmukhachev/sway-xkb-switcher/releases).

## Usage

```bash
$ sway-xkb-switcher --input-identifier <identifier>
```

You can view a list of actual identifiers by looking at

```bash
$ swaymsg -t get_inputs | grep identifier
```
The identifier corresponds to that from the input section of your sway config.

To enable debug mode run with `--debug` key.

By default it writes logs to stdout. You can specify path by `--log-path` option.

