-
Notifications
You must be signed in to change notification settings - Fork 92
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
Comments
Not sure what you mean, app icon in the notification or something else? Is that part of some spec? |
I see, will need to check. If possible on all platforms (and without CGO) it does seem like a nice addition. |
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. |
It would be a good feature if this could have blinking alerts on the application icon.
The text was updated successfully, but these errors were encountered: