diff --git a/README.md b/README.md index bfbc6d1..368aa44 100644 --- a/README.md +++ b/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. diff --git a/compile_commands_bear.sh b/compile_commands_bear.sh index f4a6ace..d4105c6 100755 --- a/compile_commands_bear.sh +++ b/compile_commands_bear.sh @@ -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 diff --git a/compile_commands_cmake.sh b/compile_commands_cmake.sh index ddf1243..fe213a4 100755 --- a/compile_commands_cmake.sh +++ b/compile_commands_cmake.sh @@ -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