mirror of
https://github.com/Trensa-Organization/hy3.git
synced 2025-03-15 10:43:40 +01:00
Fix hyprload instructions in readme
Also use cmake directly to build
This commit is contained in:
parent
3f6df74a4a
commit
399da472a0
3 changed files with 8 additions and 17 deletions
10
README.md
10
README.md
|
@ -42,13 +42,13 @@ You can use `hy3:makegroup` to create a new split.
|
|||
### Nix
|
||||
Under nix, use the provided devShell, then go to [Manual Installation](#manual)
|
||||
|
||||
### [Hyprload](https://github.com/Duckonaut/hyprload) (currently untested)
|
||||
### [Hyprload](https://github.com/Duckonaut/hyprload)
|
||||
Add an entry to your hyprload.toml like so:
|
||||
|
||||
```toml
|
||||
plugins = [
|
||||
# ...
|
||||
"outfoxxed/hy3",
|
||||
{ git = "https://github.com/outfoxxed/hy3", branch = "master", name = "hy3" },
|
||||
# ...
|
||||
]
|
||||
```
|
||||
|
@ -57,10 +57,8 @@ plugins = [
|
|||
First export `HYPRLAND_HEADERS`, then run the following commands:
|
||||
|
||||
```sh
|
||||
mkdir build
|
||||
cd build
|
||||
cmake -DCMAKE_BUILD_TYPE=Debug ..
|
||||
make
|
||||
cmake -DCMAKE_BUILD_TYPE=Debug -B build
|
||||
cmake --build build
|
||||
```
|
||||
|
||||
> **Note**: Please use a debug build as debugging a backtrace from a release build is much more difficult if you need to report an error.
|
||||
|
|
|
@ -1,8 +1,4 @@
|
|||
rm -rf build
|
||||
mkdir -p build
|
||||
cd build
|
||||
cmake ..
|
||||
bear -- make
|
||||
mv compile_commands.json ..
|
||||
cd ..
|
||||
cmake -DCMAKE_BUILD_TYPE=Debug
|
||||
bear -- cmake --build build
|
||||
sed -i 's/-std=gnu++23/-std=gnu++2b/g' compile_commands.json
|
||||
|
|
|
@ -1,6 +1,3 @@
|
|||
mkdir -p build
|
||||
cd build
|
||||
cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=1 ..
|
||||
mv compile_commands.json ..
|
||||
cd ..
|
||||
cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_EXPORT_COMPILE_COMMANDS=1 -B build
|
||||
mv build/compile_commands.json .
|
||||
sed -i 's/-std=gnu++23/-std=gnu++2b/g' compile_commands.json
|
||||
|
|
Loading…
Add table
Reference in a new issue