hyprland_ipc

A Nim interface for the Hyprland IPC

Pure Nim score 15/100 · tests present · no docs generated

Summary

Latest Version 0.1.0
License MIT
CI Status Failing
Downloads 0
Last Indexed 2026-07-21 05:26

Authors

  • xTrayambak

Installation

nimble install hyprland_ipc
choosenim install hyprland_ipc
git clone https://github.com/xTrayambak/hyprland_ipc

OS Compatibility

Platform Linux macOS Windows FreeBSD OpenBSD NetBSD Android iOS WASM Embedded
hyprland_ipc - - - - - - -

Dependencies

Package Version Optional
nim >= 1.6.14 No
jsony >= 1.1.5 No

Source

Repository https://github.com/xTrayambak/hyprland_ipc
Homepage https://github.com/xTrayambak/hyprland_ipc
Registry Source nimble_official

README

Hyprland_nim


An unofficial Nim wrapper for Hyprland's IPC

Disclaimer

A few dispatch commands haven't been binded yet and this has only been tested with the latest version of Hyprland as of 20/9/2023.

A few API names have to be fixed to maintain parity.

Getting started!

Let's get started with Hyprland_nim!

Adding to your project

Add the code below to the dependencies section of your .nimble file!

requires "https://github.com/xTrayambak/hyprland_ipc"

What this library provides

  • ctl for controlling the compositor
  • dispatch for issuing dispatch commands
  • keyword for keywords (eg. decoration:blur:enable)

What is incomplete

  • data for getting information on the compositor
  • some dispatch commands in dispatch

Keep in mind that the dispatch command list is huge and hasn't been thoroughly tested. Please report issues.

Examples

Check examples/ for example code