Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/coffebar/hyprland-per-window-layout
Per window keyboard layout (language) for Hyprland wayland compositor
https://github.com/coffebar/hyprland-per-window-layout
hyprland rust wayland
Last synced: 2 days ago
JSON representation
Per window keyboard layout (language) for Hyprland wayland compositor
- Host: GitHub
- URL: https://github.com/coffebar/hyprland-per-window-layout
- Owner: coffebar
- License: mit
- Created: 2023-02-07T18:03:40.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-27T17:07:40.000Z (5 months ago)
- Last Synced: 2025-01-18T05:05:17.607Z (10 days ago)
- Topics: hyprland, rust, wayland
- Language: Rust
- Homepage: https://www.buymeacoffee.com/coffebar
- Size: 94.7 KB
- Stars: 79
- Watchers: 6
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
- awesome-hyprland - hyprland-per-window-layout - configuration, just works out of the box) (Tools / Input)
README
[![Stand With Ukraine](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/banner2-direct.svg)](https://stand-with-ukraine.pp.ua)
# Hyprland per window layout
![](https://img.shields.io/crates/d/hyprland-per-window-layout)
![](https://img.shields.io/github/issues-raw/coffebar/hyprland-per-window-layout)
![](https://img.shields.io/github/stars/coffebar/hyprland-per-window-layout)
![](https://img.shields.io/aur/version/hyprland-per-window-layout)
![](https://img.shields.io/crates/v/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](https://aur.archlinux.org/packages/hyprland-per-window-layout)
```bash
# 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](configuration.md) for more details.
-----
## Install from cargo crates
```bash
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](https://github.com/bsd-ac/wayland-desktop#activate-overlay-via-eselect-repository), allow **~amd64** keyword and then install it:
```bash
# emerge --ask gui-apps/hyprland-per-window-layout
```## Install from source
Install from source with **rustup**:
```bash
git clone https://github.com/coffebar/hyprland-per-window-layout.git
cd hyprland-per-window-layoutrustup override set stable
rustup update stablecargo 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.42.