Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ghost opened this issue Nov 24, 2022 · 1 comment
Open

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

ghost opened this issue Nov 24, 2022 · 1 comment

Comments

@ghost
Copy link

ghost commented Nov 24, 2022

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
Copy link

rixx commented Oct 14, 2023

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant