Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xTrayambak/hyprland_ipc
An unofficial Nim wrapper for Hyprland's IPC
https://github.com/xTrayambak/hyprland_ipc
hyprland hyprland-ipc ipc nim rice socket
Last synced: about 1 month ago
JSON representation
An unofficial Nim wrapper for Hyprland's IPC
- Host: GitHub
- URL: https://github.com/xTrayambak/hyprland_ipc
- Owner: xTrayambak
- License: other
- Created: 2023-09-24T12:54:23.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-08-11T04:48:06.000Z (4 months ago)
- Last Synced: 2024-08-11T05:48:46.791Z (4 months ago)
- Topics: hyprland, hyprland-ipc, ipc, nim, rice, socket
- Language: Nim
- Homepage:
- Size: 431 KB
- Stars: 6
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-hyprland - Hyprland_nim
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