Keyboard layout switcher for sway windows
Project description
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
$ pip install sway-xkb-switcher
Also you can download compiled binary from release page.
Usage
$ sway-xkb-switcher --input-identifier <identifier>
You can view a list of actual identifiers by looking at
$ 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.
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
Built Distribution
Hashes for sway_xkb_switcher-0.2.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d8e77db1bdd0a760a83805afd6f8084041614b78f26d14b8cc16d2f2c2a8a9b1 |
|
MD5 | 1a019bb9407854780a463a412dc3399b |
|
BLAKE2b-256 | 0609b8660123cea1f8eb0cfa1bc09841df827433ba3222cb5ee26e3ad04c14b5 |