| Crates.io | hyprland |
| lib.rs | hyprland |
| version | 0.4.0-beta.3 |
| created_at | 2022-08-03 21:28:20.234895+00 |
| updated_at | 2025-09-24 04:59:03.508328+00 |
| description | A unoffical rust wrapper for hyprland's IPC |
| homepage | https://github.com/hyprland-community/hyprland-rs |
| repository | https://github.com/hyprland-community/hyprland-rs |
| max_upload_size | |
| id | 638358 |
| size | 270,061 |
An unofficial rust wrapper for Hyprland's IPC
We need help with developing the next version of hyprland-rs 0.4,
if you know how to do the things in https://github.com/hyprland-community/hyprland-rs/milestone/4
contributions in those areas would be greatly appreciated!
If something doesn't work, doesn't matter what, make sure you are on the latest version (or commit) of Hyprland before making an issue!
Let's get started with Hyprland-rs!
Add the code below to the dependencies section of your Cargo.toml file!
hyprland = "0.4.0-beta.1"
Hyprland-rs has a ton of types (and some really long ones)! Its important you know how the ones you will be using work! The docs can be found at docs.rs/hyprland
If Hyprland-rs is broken (or other reason) and is taking too long for a release to come out,
you can use the master branch in Cargo (will not allow the crate to be published to crates.io):
hyprland = { git = "https://github.com/hyprland-community/hyprland-rs", branch = "master" }
This crate provides 6 modules (+1 for shared things)
data for getting information on the compositorevent_listener which provides the EventListener struct for listening for eventsdispatch for calling dispatcherskeyword for dealing with config option (aka keywords)config::binds for changing binds (in future config might have config generation)ctl for calling hyprctl commandsCheck the examples in the examples directory