Skip to content
New issue

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

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

Already on GitHub? # to your account

Add option to ignore visible windows in sway #69

Merged
merged 1 commit into from
Feb 29, 2020

Conversation

ammgws
Copy link
Contributor

@ammgws ammgws commented Jan 17, 2020

Motivation

In a tiling window desktop environment, such as sway, windows do not overlap hence they are technically still in the "foreground" even if they are not currently focused (see screenie below).

20200117_23h40m26s

When using done in such an environment, it would be preferable if notifications were only sent if the window was not visible at all (due to being on another workspace etc). For example, in the case of the screenshot above, one might not want done to send a notification even if the window no longer has focus.

This PR adds an option to enable the above behaviour.

@franciscolourenco
Copy link
Owner

Looks good, thanks!

@franciscolourenco franciscolourenco merged commit bc33265 into franciscolourenco:master Feb 29, 2020
@ammgws ammgws deleted the improvesway branch February 29, 2020 13:58
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants