Commit graph

25 commits

Author SHA1 Message Date
ItsDrike 6bc69d03d6
Define WLR_USE_UNSTABLE in Makefile, not directly in main.cpp 2023-06-07 00:32:58 +02:00
ItsDrike 0759df0727
Update installation instructions after move to pkg-config
In 6218a99a3a the Makefile was updated to
use the new `pkg-config` method for including Hyprland soucres, however
this commit didn't update the README instructions, which did change a
bit.

The most notable change is that exporting `HYPRLAND_HEADERS` is no
longer necessary, and the updated required Hyprland commit for the
plugin.

This commit also updates the hyprload instructions.
2023-06-07 00:14:36 +02:00
ItsDrike 171f9dd094
Add comment explaining .PHONY 2023-06-07 00:03:08 +02:00
ItsDrike 575c35c00e
Update top comment 2023-06-07 00:02:44 +02:00
ItsDrike e727aed197
Add INSTALL_LOCATION variable 2023-06-07 00:00:04 +02:00
ItsDrike e35c1a136d
Add COMPILE_FLAGS variable, avoiding repetition in clangd 2023-06-06 23:56:01 +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 a826dfbebc
Fix formatting 2023-04-04 00:15:37 +02:00
ItsDrike c62024d74d
Rename addChildNodesToDequeRecursive -> collectChildNodes 2023-04-04 00:15:26 +02:00
ItsDrike 93d3948bfb
Remove unnecessary parents deque from addChildNodesToDequeRecursive 2023-04-04 00:14:44 +02:00
ItsDrike 16f67af969
Only refocus original win after childs were added 2023-04-04 00:12:41 +02:00
ItsDrike bea3f75c19
Restructure the project, making groupCreate and groupDissolve funcs 2023-04-04 00:11:20 +02:00
ItsDrike 6afe3cb756
Include wlroots subproject from hyprland sources during compilation 2023-04-03 17:27:02 +02:00
ItsDrike a9eedb1d72
Add missing return statements on ignores 2023-04-03 17:23:08 +02:00
ItsDrike 9e665e359c
Find correct function based on demangled signature 2023-04-01 00:16:08 +02:00
ItsDrike 312eeaeb34
Fix using wrong getNodeFromWindow function with findFunctionsByName 2023-03-31 23:57:34 +02:00
ItsDrike 5c56bd64ed
Mention minimum hyprland version requirement 2023-03-31 23:10:58 +02:00
ItsDrike 477097523e
Reference the PR that removed autogroupping 2023-03-31 23:05:11 +02:00
ItsDrike 03e6e33a98
Add license 2023-03-31 22:56:49 +02:00
ItsDrike 6caef995d1
Move to using findFunctionsByName instead of compiler dependant getFunctionAddressFromSignature 2023-03-31 22:44:33 +02:00
ItsDrike 7eca164413
Add initial support for children groupping 2023-03-31 22:32:25 +02:00
ItsDrike 2788905750
Add custom wrapper overriding togglegroup dispatcher 2023-03-31 21:32:28 +02:00
ItsDrike 1ae38874f2
Update clang-format 2023-03-31 15:48:55 +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