Find a file
2024-09-20 14:13:20 +01:00
.github/workflows CI: init 2024-04-20 13:41:53 +03:00
nix Nix: add cross-build package 2024-06-11 18:21:15 +03:00
src core: fix overzealous proxy replacement for new_id 2024-09-20 14:13:20 +01:00
.clang-format Initial commit 2024-04-20 01:06:51 +01:00
.gitignore Initial commit 2024-04-20 01:06:51 +01:00
CMakeLists.txt CMake: fix version path 2024-07-18 20:33:41 +03:00
flake.lock flake.lock: update 2024-07-18 20:35:19 +03:00
flake.nix CMake, Nix: add VERSION file 2024-07-18 20:29:59 +03:00
hyprwayland-scanner-config.cmake.in cmake: add hpp header as target dependency (#4) 2024-05-13 14:56:29 +01:00
hyprwayland-scanner.pc.in add pkg-config file 2024-04-20 13:56:27 +03:00
LICENSE Initial commit 2024-04-20 01:06:51 +01:00
README.md README: add flags 2024-09-16 09:01:29 +01:00
VERSION version: bump to 0.4.1 2024-09-19 22:40:38 +01:00

hyprwayland-scanner

A Hyprland implementation of wayland-scanner, in and for C++.

Usage

hyprwayland-scanner '/path/to/proto' '/path/to/output/directory'

Options

  • --client -> generate client code
  • --wayland-enums -> use wayland enum naming (snake instead of camel)

Dependencies

Requires a compiler with C++23 support.

Dep list:

  • pugixml

Building

cmake -DCMAKE_INSTALL_PREFIX=/usr -B build
cmake --build build -j `nproc`

Installation

sudo cmake --install build