#hyprland #utility #command-line-tool #sockets #unix-socket

app hypr-helper

Hyprland Utilities such as adjusting gaps, getting windowname and workspace information

3 unstable releases

0.1.1 Dec 31, 2023
0.1.0 Dec 30, 2023
0.0.7 Dec 30, 2023

#1348 in Command line utilities

AGPL-3.0

22KB
385 lines

hypr-helper

Licence Version Crates.io Total Downloads Crates.io Total Downloads GitLab all issues

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

Roadmap

  • Workspace information.
  • Active window name.
  • Resize gaps (increase, decrease and reset).
  • Manage monitor configuration.

How to install

You can install this by cargo or building the project yourself

# Using cargo
cargo install hypr-helper
# Cloning and building
git clone https://gitlab.com/hegde-atri/hypr-helper
cd hyprland-workspaces
cargo build --release

Dependencies

~3–12MB
~163K SLoC