rofi icon indicating copy to clipboard operation
rofi copied to clipboard

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

Open ghost opened this issue 1 year ago • 1 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.

ghost avatar Nov 24 '22 07:11 ghost

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!

rixx avatar Oct 14 '23 08:10 rixx