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

Blink icon app notification #32

Open
dhinojosac opened this issue Dec 16, 2019 · 4 comments
Open

Blink icon app notification #32

dhinojosac opened this issue Dec 16, 2019 · 4 comments

Comments

@dhinojosac
Copy link

It would be a good feature if this could have blinking alerts on the application icon.

@gen2brain
Copy link
Owner

Not sure what you mean, app icon in the notification or something else? Is that part of some spec?

@dhinojosac
Copy link
Author

I mean, the application icon in the taskbar (windows) could it blinks or change color.
image

@gen2brain
Copy link
Owner

I see, will need to check. If possible on all platforms (and without CGO) it does seem like a nice addition.

@gen2brain
Copy link
Owner

On X11, WM urgency hint can be set https://specifications.freedesktop.org/wm-spec/wm-spec-latest.html#URGENCY, it should be possible with https://github.com/BurntSushi/xgb or xgbutil.

On Windows, there is FlashWindow function, https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-flashwindow, also, https://stackoverflow.com/questions/2620409/getting-hwnd-of-current-process.

On Web, javascript can just toggle document title on/off. Not sure what can be done on macOS.

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

2 participants