| Crates.io | hyprland-per-window-layout |
| lib.rs | hyprland-per-window-layout |
| version | 0.2.17 |
| created_at | 2023-02-17 11:47:49.407117+00 |
| updated_at | 2025-09-01 17:41:31.394686+00 |
| description | Per window keyboard layout (language) for Hyprland wayland compositor |
| homepage | |
| repository | https://github.com/coffebar/hyprland-per-window-layout |
| max_upload_size | |
| id | 787499 |
| size | 54,792 |
Automatic keyboard layout switching for Hyprland - each window remembers its own keyboard layout.
Requirements: At least 2 keyboard layouts in hyprland.conf
# e.g.
yay -Sy && yay -S hyprland-per-window-layout
Add to hyprland.conf:
exec-once = /usr/bin/hyprland-per-window-layout
cargo install hyprland-per-window-layout
Add to hyprland.conf:
exec-once = ~/.cargo/bin/hyprland-per-window-layout
Activate wayland overlay as described in README, allow ~amd64 keyword and then install it:
# emerge --ask gui-apps/hyprland-per-window-layout
git clone https://github.com/coffebar/hyprland-per-window-layout.git
cd hyprland-per-window-layout
cargo build --release
mkdir -p ~/.local/bin/
cp target/release/hyprland-per-window-layout ~/.local/bin/
Add to hyprland.conf:
exec-once = ~/.local/bin/hyprland-per-window-layout
Optional. See configuration.md for setting default layouts per application.
Bug reports and PRs are welcome! See CONTRIBUTING.md for guidelines.
Tested on Hyprland v0.50.