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] Auto-resume at timed interval, or window focus/click #224

Open
geotro opened this issue Oct 1, 2024 · 1 comment
Open
Labels
feature request Request for a new feature or improvement

Comments

@geotro
Copy link

geotro commented Oct 1, 2024

Nyrna is really cool! thanks for working on it.

I would like to request two features.

  1. Timed unsuspend (and for how long) then suspend again any given app. This can be useful to apps like mail clients by allowing them to wake up and poll for mail, for example.

  2. Click an suspended app, or bring it to focus to unsuspend it. It can be an immensely useful if implemented.

To implement this feature one might look into https://stackoverflow.com/questions/1014822/how-to-know-which-window-has-focus-and-how-to-change-it or on how xdotool / xprop do this and mimick it: https://superuser.com/questions/382616/detecting-currently-active-window

Both of these features would make Nyrna immensely useful to me as a daily driver and probably to many laptop users too for optimizing battery run time.

@geotro geotro changed the title [Feature request] Auto-resume [Feature request] Auto-resume at timed interval, or window focus/click Oct 1, 2024
@Merrit
Copy link
Owner

Merrit commented Oct 2, 2024

Thanks for the suggestions!

Both of these would add some decent complexity, and number 2 isn't doable on Wayland at all at the moment. I will give them some thought.

@Merrit Merrit added the feature request Request for a new feature or improvement label Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Request for a new feature or improvement
Projects
None yet
Development

No branches or pull requests

2 participants