#keyboard-layout #hyprland #wayland-compositor #wayland #linux #daemon #cli

app hyprland-per-window-layout

Per window keyboard layout (language) for Hyprland wayland compositor

10 releases

0.2.9 Mar 22, 2024
0.2.6 Jan 9, 2024
0.2.4 Dec 12, 2023
0.2.3 Nov 14, 2023
0.2.1 Mar 25, 2023

#591 in GUI

Download history 13/week @ 2024-01-04 1/week @ 2024-01-11 140/week @ 2024-02-22 31/week @ 2024-02-29 11/week @ 2024-03-07 20/week @ 2024-03-14 105/week @ 2024-03-21 35/week @ 2024-03-28 11/week @ 2024-04-04

175 downloads per month

MIT license

22KB
420 lines

Stand With Ukraine

Hyprland per window layout

No configuration is needed, just add your layouts (if you didn't yet) to the input section of hyprland config file and start this program right after Hyprland.

Written in Rust.

Note: it will not start if you don't have at least 2 keyboard layouts in hyprland.conf

How to use

Install hyprland-per-window-layout from AUR

# e.g.
yay -Sy && yay -S hyprland-per-window-layout

and

Add this line to your hyprland.conf

exec-once = /usr/bin/hyprland-per-window-layout

Configuration

Optional, please read configuration.md for more details.


Install from cargo crates

cargo install hyprland-per-window-layout

Add this line to your hyprland.conf

exec-once = ~/.cargo/bin/hyprland-per-window-layout

Install on Gentoo

Activate wayland overlay as described in README, allow ~amd64 keyword and then install it:

# emerge --ask gui-apps/hyprland-per-window-layout

Install from source

Install from source with rustup:


git clone https://github.com/coffebar/hyprland-per-window-layout.git
cd hyprland-per-window-layout

rustup override set stable
rustup update stable

cargo build --release

mkdir -p ~/.local/bin/
cp target/release/hyprland-per-window-layout ~/.local/bin/

Add this line to your hyprland.conf

exec-once = ~/.local/bin/hyprland-per-window-layout

Contribution

Bug reports and PR are welcome. Thank you for your interest!


Tested on Hyprland v0.34.

Dependencies

~5–17MB
~197K SLoC