Milan Nikolic
Milan Nikolic
There were already suggestions to use embedded binaries, but I don't like that approach. This lib doesn't try to offer complete experience on all OSes but tries to just work...
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...
I think it is only possible on Linux, but will need to check, I remember it was possible to send `image-data` as a hint, which contains raw data. For Windows...
It seems that both Linux and Web can work with bytes, so that is like 50% so I guess it makes sense to handle bytes here. Not sure what is...
Actions are planned, see https://github.com/gen2brain/beeep/issues/10 , but this library tries to be pure and without cgo, on macos with just applescript it seems it is not possible https://developer.apple.com/library/archive/documentation/LanguagesUtilities/Conceptual/MacAutomationScriptingGuide/DisplayNotifications.html.
This is related to https://github.com/gen2brain/beeep/issues/10 it seems.
On Linux there is support for `actions` https://developer.gnome.org/notification-spec/ . It will need to check capabilities of notification daemon first, some do not have support. I never used actions, will need...
I have an idea what is wrong and how to fix, but that will happen in 2.4 release. Not sure when will I have time to add everything I planned....