hyprwm / hyprland-plugins

Official plugins for Hyprland
BSD 3-Clause "New" or "Revised" License
573 stars 60 forks source link

Help for hyprland plugin dev #179

Closed RafayAhmad7548 closed 5 months ago

RafayAhmad7548 commented 5 months ago

i was making a plugin, but i ran into issues and i cant find much detailed documentation. basically i am stuck on how to get a pointer to the current wlr_keyboard in the init fuction so i can setup some keylisteners, also with another plugin i was setting up a eventlistner for activewindow changem i got a PHLWINDOW from the void* data in the eventlistner callback but i dont know how to use the PHILWINDOW for literally anything. any help would be appreciated

vaxerski commented 5 months ago

the issues page is not a help forum. Go to the discord for that.

This repo has more than enough examples of how to use a window ptr

Current keyboard is g_pSeatManager->keyboard

RafayAhmad7548 commented 5 months ago

Thank you, i am sorry for asking here