https://github.com/singulared/swayboard
Keyboard layout manager for sway
https://github.com/singulared/swayboard
rust rust-lang sway swaywm
Last synced: 3 months ago
JSON representation
Keyboard layout manager for sway
- Host: GitHub
- URL: https://github.com/singulared/swayboard
- Owner: singulared
- Created: 2020-02-16T17:08:37.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-07-16T18:04:42.000Z (almost 2 years ago)
- Last Synced: 2025-02-28T10:01:13.808Z (over 1 year ago)
- Topics: rust, rust-lang, sway, swaywm
- Language: Rust
- Homepage:
- Size: 85 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# Swayboard
Sway keyboard's layout daemon.
This utility helps you automatically change a keyboard layout based on per-window policy.
## Installation
```bash
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`
```toml
[logging]
level = "Info"
[device]
identifier = "1:1:AT_Translated_Set_2_keyboard"
```
Your device identifier you can check with swaymsg
```bash
swaymsg -t get_inputs -r | jq '.[] | select(.type | contains("keyboard")).identifier'
```