Commit graph

5 commits

Author SHA1 Message Date
ItsDrike 6932d4fb33
Fix bug introduced in latest Hyprland
A recent change to hyprland, refactoring workspace storage has caused an
issue with including `<hyprland/src/layout/DwindleLayout.hpp>` directly,
since it utilizes the `PHLWORKSPACE` type, which however isn't imported
from this header file. Including
`<hyprland/src/desktop/DesktopTypes.hpp>` manually fixes this issue,
although it might be worth reporting this to hyprland, as this include
probably should be present in this file.

Introduced in Hyprland commit:
<ef23ef60c5>
2024-04-04 01:28:19 +02:00
ItsDrike 3505d4aa5b
Full rewrite 2023-10-02 22:51:45 +02:00
ItsDrike 6218a99a3a
Move to pkg-config
Hyprland has recently changed the way plugins recognize the hyprland
headers, moving from directly including the paths with -I option to
automatically generating the cflags with `pkg-config --cflags hyprland`.

This change means that compilation attempts using the direct include
option will start to fail with newer versions of hyprland, which now
uses /usr/local/include for it's headers after `make pluginenv`.

This commit migrates the original system to respect this change,
modifying Makefile, and with it, the include paths for hyprland headers,
which are now prefixed with hyprland/.
2023-06-06 23:48:28 +02:00
ItsDrike 6f367d865e
Remove unnecessary template code 2023-03-31 14:57:46 +02:00
ItsDrike 2d883200bc
Initial commit 2023-03-31 14:56:32 +02:00