microsoft / microsoft/PowerToys
Give Awake a list of Included Apps like QuickAccent's Excluded Apps
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 139k
- Forks
- 8.6k
- PR merge metrics
- PR metrics pending
Description
Description of the new feature / enhancement
I was looking at #45147 and realized simply having Awake change its behavior based on the app I have focused would solve my problem. I would like to be able to specify a list of apps which, if open and focused, cause Awake to activate without user input.
QuickAccent has a similar feature, Excluded Apps, where if an app is focused, QuickAccent does not activate.
I would like Awake to have essentially the reverse of this feature, where if a specified app is focused, Awake activates, and otherwise does not.
Scenario when this would be used?
If I'm playing music or a podcast in Spotify, or AFKing in a game, and have that window focused, Awake keeps the screen on, but if I close that app or switch to a different app, it reverts back to my Windows settings for sleep.
Supporting information
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating Awake's settings and focused-app handling, then compare QuickAccent's Excluded Apps behavior. Define how an Included Apps list interacts with the focused window and existing Windows sleep settings. Done means Awake activates only while a listed app is focused and otherwise follows the user's Windows sleep behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- desktop, operating-systems
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100