hyprland-workspaces-0.0.7 is not a library.
hypr-helper
An application that listens to the Hyprland UNIX socket for changes and returns chosen properties (example: workspace information, active window name).
Prerequisites
You should be running Hyprland.
Why
Writing this helped me cut down RAM usage for getting workspace information by almost 600%! (12MB -> 2.4MB) and of course barely any CPU usage. This CLI tool will also come with some extra features, such as dynamically updating the gaps
How to install
You can install this by cargo or building the project yourself
# Using cargo
# Cloning and building
Roadmap
- Workspace information
- Active window name
- Resize gaps (increase, decrease and reset)