mirror of
https://github.com/hyprwm/hyprland-wiki.git
synced 2024-11-05 21:15:58 +01:00
remove references to example plugin
This commit is contained in:
parent
ce0b8774ed
commit
228ed3f00d
2 changed files with 4 additions and 6 deletions
|
@ -116,6 +116,6 @@ static auto* const MYVAR = &HyprlandAPI::getConfigValue(PHANDLE, "plugin:my
|
|||
```
|
||||
|
||||
## Further
|
||||
Read the API at `src/plugins/PluginAPI.hpp` and check out the examplePlugin in `examples/`.
|
||||
Read the API at `src/plugins/PluginAPI.hpp`, check out the [official plugins](https://github.com/hyprwm/hyprland-plugins).
|
||||
|
||||
And, most importantly, have fun!
|
|
@ -31,11 +31,9 @@ is required.
|
|||
Clone the Hyprland source code to a subdirectory, in our example `MyPlugin/Hyprland`.
|
||||
Run `cd Hyprland && make all && sudo make installheaders && cd ..`.
|
||||
|
||||
Now that you have the Hyprland sources set up, copy the contents of `example/examplePlugin/` to your working directory.
|
||||
|
||||
Your `MyPlugin` directory now should contain `main.cpp`, `globals.hpp`, `exampleLayout.cpp`, etc.
|
||||
|
||||
This plugin has quite a few examples of the things you can do, but we will focus on the basics for now.
|
||||
Now that you have the Hyprland sources set up, you can either start from scratch if you know how,
|
||||
or take a look at some simple plugins in the [official plugins repo](https://github.com/hyprwm/hyprland-plugins)
|
||||
like for example `csgo-vulkan-fix` or `hyprwinwrap`.
|
||||
|
||||
### The basic parts of the plugin
|
||||
|
||||
|
|
Loading…
Reference in a new issue