mirror of
https://github.com/Trensa-Organization/hy3.git
synced 2025-03-15 18:53: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
|
### Nix
|
||||||
Under nix, use the provided devShell, then go to [Manual Installation](#manual)
|
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:
|
Add an entry to your hyprload.toml like so:
|
||||||
|
|
||||||
```toml
|
```toml
|
||||||
plugins = [
|
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:
|
First export `HYPRLAND_HEADERS`, then run the following commands:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
mkdir build
|
cmake -DCMAKE_BUILD_TYPE=Debug -B build
|
||||||
cd build
|
cmake --build build
|
||||||
cmake -DCMAKE_BUILD_TYPE=Debug ..
|
|
||||||
make
|
|
||||||
```
|
```
|
||||||
|
|
||||||
> **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.
|
> **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
|
rm -rf build
|
||||||
mkdir -p build
|
cmake -DCMAKE_BUILD_TYPE=Debug
|
||||||
cd build
|
bear -- cmake --build build
|
||||||
cmake ..
|
|
||||||
bear -- make
|
|
||||||
mv compile_commands.json ..
|
|
||||||
cd ..
|
|
||||||
sed -i 's/-std=gnu++23/-std=gnu++2b/g' compile_commands.json
|
sed -i 's/-std=gnu++23/-std=gnu++2b/g' compile_commands.json
|
||||||
|
|
|
@ -1,6 +1,3 @@
|
||||||
mkdir -p build
|
cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_EXPORT_COMPILE_COMMANDS=1 -B build
|
||||||
cd build
|
mv build/compile_commands.json .
|
||||||
cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=1 ..
|
|
||||||
mv compile_commands.json ..
|
|
||||||
cd ..
|
|
||||||
sed -i 's/-std=gnu++23/-std=gnu++2b/g' compile_commands.json
|
sed -i 's/-std=gnu++23/-std=gnu++2b/g' compile_commands.json
|
||||||
|
|
Loading…
Add table
Reference in a new issue