Skip to main content

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

sway-xkb-switcher-0.2.2.tar.gz (4.1 kB view hashes)

Uploaded Source

Built Distribution

sway_xkb_switcher-0.2.2-py3-none-any.whl (4.6 kB view hashes)

Uploaded Python 3

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