Open ghost opened 2 years ago
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!
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.