Find a file
Tom Englund 5ac060bfcf
signal: check for trivially copyable (#95)
use is_trivially_copyable instead because is_arithmetic_v exludes small
POD structs, enums, and certain trivially copyable types.

also add a if guard in emit if we have no listeners, no point emitting.
2025-12-19 16:12:51 +00:00
.github/workflows tests: move to gtest (#85) 2025-11-09 18:05:01 +00:00
include/hyprutils signal: check for trivially copyable (#95) 2025-12-19 16:12:51 +00:00
nix Nix: always test in debug mode 2025-11-22 00:35:18 +02:00
src cli/logger: flush stdout after logging 2025-12-17 20:09:42 +00:00
tests memory/shared: add dynamicPointerCast (#92) 2025-12-01 21:18:31 +00: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.11.0 2025-12-05 19:18:01 +00: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.11.0 2025-12-05 19:18:01 +00: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