hyprwm / hyprland-wiki

The Hyprland Wiki Pages, automatically synced with the website.
BSD 3-Clause "New" or "Revised" License
253 stars 384 forks source link

The "Getting Started With Plugin Development" page does not mention how to actually compile plugins for development #657

Open Prayag2 opened 6 months ago

Prayag2 commented 6 months ago

This page hyprland-wiki/pages/Plugins/Development/Getting-Started.md mentions how to build the plugin and setup the development environment, but does not mention how to actually run the plugin inside the development environment.

The section just states this:

You can now run your plugin in the nested session without worrying about nuking your actual session, and also being able to debug it easily.

But how? I was able to setup the environment easily and run a nested Hyprland session but nowhere in the docs does it mention how to compile and test the plugin! Do I use hyprpm for this too? Or do I compile the plugin using some specific flags and use some command to enable it in the development session?

Link for reference: Link

vaxerski commented 6 months ago

MRs welcome

vaxerski commented 6 months ago

check the makefiles of official plugins and use hyprctl plugin to load / unload them

Prayag2 commented 6 months ago

MRs welcome

Sure! Will definitely make a PR after figuring it out :)