adi1090x/rofi

[Feature Request] Clicking on powermenu/applets doesn't work

prorounak2005 opened this issue · 2 comments

It will be a nice idea if clicking on a powermenu button works rather than manually pressing enter through my keyboard. You can use xdotool to simulate mouse input.

rixx commented

rofi supports this on its own, no need for xdotool: You have to either add these flags to the rofi invocation in your powermenu:

-me-select-entry '' -me-accept-entry 'Mouse1' -hover-select

Or add the following to the .rasi file used by your powermenu, in the general configuration {} block:

    hover-select: true;
	me-select-entry: "";
	me-accept-entry: "MousePrimary";

Would probably be neat to add this to all the powermenu configs or scripts!