swayboard

Crates.ioswayboard
lib.rsswayboard
version0.1.0
created_at2024-07-16 18:04:36.960333+00
updated_at2024-07-16 18:04:36.960333+00
descriptionAutomatic keyboard layout manager for Sway wm
homepage
repositoryhttps://github.com/singulared/swayboard
max_upload_size
id1305365
size53,380
Maxim Belousov (singulared)

documentation

https://docs.rs/swayboard/

README

Swayboard

Sway keyboard's layout daemon. This utility helps you automatically change a keyboard layout based on per-window policy.

Installation

cargo install swayboard

Then you can add swayboard to your sway config:

exec swayboard

Configuration

Swayboard supports next configuration locations

  • /etc/swayboard/config.toml
  • ~/.config/swayboard/config.toml
[logging]
level = "Info"

[device]
identifier = "1:1:AT_Translated_Set_2_keyboard"

Your device identifier you can check with swaymsg

swaymsg -t get_inputs -r | jq '.[] | select(.type | contains("keyboard")).identifier'
Commit count: 28

cargo fmt