diff --git a/Makefile b/Makefile index 101544c..264f1aa 100644 --- a/Makefile +++ b/Makefile @@ -22,7 +22,7 @@ $(PLUGIN_NAME).so: $(SOURCE_FILES) $(INCLUDE_FILES) g++ -shared -fPIC --no-gnu-unique $(SOURCE_FILES) -o $(PLUGIN_NAME).so -g -I "/usr/include/pixman-1" -I "/usr/include/libdrm" -I "${HYPRLAND_HEADERS}" -Iinclude -std=c++23 clean: - rm ./examplePlugin.so + rm -f ./$(PLUGIN_NAME).so clangd: printf "%b" "-I/usr/include/pixman-1\n-I/usr/include/libdrm\n-I${HYPRLAND_HEADERS}\n-Iinclude\n-std=c++2b" > compile_flags.txt diff --git a/README.md b/README.md index bb0b455..aa52973 100644 --- a/README.md +++ b/README.md @@ -8,10 +8,13 @@ This ensures the compiler version is the same between the Hyprland build you're The guide on compiling and installing Hyprland manually is on the [wiki](http://wiki.hyprland.org/Getting-Started/Installation/#manual-manual-build) ## Using [hyprload](https://github.com/Duckonaut/hyprload) -1. Export the `HYPRLAND_HEADERS` variable to point to the root directory of the Hyprland repo - - `export HYPRLAND_HEADERS="$HOME/repos/Hyprland"` -2. Install - - `make install` +Add the line `"Duckonaut/split-monitor-workspaces",` to your `hyprload.toml` config, like this +```toml +plugins = [ + "Duckonaut/split-monitor-workspaces", +] +``` +Then update via the `hyprload,update` dispatcher ## Manual installation 1. Export the `HYPRLAND_HEADERS` variable to point to the root directory of the Hyprland repo