No description
Find a file
Trayambak Rai 006140898a
Merge pull request #2 from Cloudperry/master
Add support for most data commands and socket connection fixes
2024-08-11 10:18:06 +05:30
examples (xxx) format code, document some code and inline small functions 2024-05-25 08:41:43 +05:30
src Remove outdated comment 2024-08-10 20:42:49 +03:00
tests (xxx) format code, document some code and inline small functions 2024-05-25 08:41:43 +05:30
hyprland_ipc.nimble (xxx) format code, document some code and inline small functions 2024-05-25 08:41:43 +05:30
LICENSE (add) add all dispatch commans 2023-09-25 16:28:08 +05:30
README.md (add+fix) add examples, fix setKeyword() not accepting booleans 2023-09-24 18:43:08 +05:30

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