hovancik/stretchly

[Feature request]: Enhance appExclusions to check for the program in focus

Open

#1,582 创建于 2025年3月8日

在 GitHub 查看
 (1 评论) (1 反应) (0 负责人)JavaScript (3,892 star) (410 fork)batch import
enhancementhelp wanted

描述

Version

  • I'm using version 1.17.2

Existing requests

  • I've checked Existing requests

Advanced Preferences

  • I've checked Advanced Preferences

What operating system are you using?

Windows

Operating System Version

Windows 11

Problem description

Background apps are considered running even if they are not actively used. I'd like to use appExclusions' resume and pause functions based on what program is in the foreground.

Example:

  1. I configured appExclusions to run Stretchly when using Firefox to discourage me from wasting my time on Youtube.
  2. I opened Firefox which is now in the foreground.
  3. Next, I opened Excel to work on reports. I'd like to have no breaks while being productive. Firefox is sent to the background but the process is still running.
  4. Stretchly interrupts me while I'm working on Excel even though Firefox was not used but just running in the background.

Possible solution

Stretchly to check which program is in the foreground and not minimized, instead of which program is running.

Alternative solutions

User needs to close the app specified in appExclusions instead of just putting it in the background or minimizing it.

Additional information

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

贡献者指南