Find a file
Tom Englund 427332a7ca memory: use initializer list in constructors
for trivial types this is optimized away, non trivial it default
constructs and then assigns it upon construction, minor waste. so lets
use initializer list for these custom types.
2025-09-27 01:01:56 +02:00
.github/workflows CI/Nix: add cache-nix-action 2025-06-20 01:11:36 +03:00
include/hyprutils memory: use initializer list in constructors 2025-09-27 01:01:56 +02:00
nix nix: make mold optional 2025-08-21 20:05:54 +03:00
src region: avoid tons of allocations for scale() 2025-09-26 23:17:45 +01:00
tests memory: Add C++ cast aliases; replace existing casts and remove redundant casts (#71) 2025-08-06 14:00:50 +02:00
.clang-format utils: Initial Commit 2024-06-08 19:37:15 +02:00
.clang-tidy core: clang, clang-tidy fixes and comp options (#45) 2025-02-02 20:36:28 +01:00
.editorconfig core: add editorconfig (#61) 2025-06-26 11:44:09 +02:00
.gitignore memory: add CAtomicSharedPointer and CAtomicWeakPointer (#57) 2025-06-25 19:41:24 +02:00
CMakeLists.txt version: bump to 0.8.0 2025-06-26 18:23:47 +02:00
flake.lock nix: use gcc15 (#54) 2025-06-05 15:55:56 +01:00
flake.nix Nix: move overlays to nix/ and add debug package 2025-06-20 01:11:34 +03:00
hyprutils.pc.in utils: Initial Commit 2024-06-08 19:37:15 +02:00
LICENSE Initial commit 2024-06-08 18:51:36 +02:00
README.md README: fix invalid getconf value 2024-11-22 15:11:21 +00:00
VERSION version: bump to 0.8.4 2025-08-25 12:23:08 +02:00

hyprutils

Hyprutils is a small C++ library for utilities used across the Hypr* ecosystem.

Stability

Hyprutils depends on the ABI stability of the stdlib implementation of your compiler. Sover bumps will be done only for hyprutils ABI breaks, not stdlib.

Building

git clone https://github.com/hyprwm/hyprutils.git
cd hyprutils/
cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_INSTALL_PREFIX:PATH=/usr -S . -B ./build
cmake --build ./build --config Release --target all -j`nproc 2>/dev/null || getconf NPROCESSORS_CONF`
sudo cmake --install build