Update readme

This commit is contained in:
Stanisław Zagórowski 2023-04-03 12:12:43 +02:00
parent 2d7aec996b
commit feb6ab9a49
2 changed files with 8 additions and 5 deletions

View file

@ -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

View file

@ -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