noti
noti copied to clipboard
Feature Request: custom icon in notification
Hi,
First of all, cool project! Thanks!
It would be nice if it could be possible to set a custom icon for notification.
Regards, Piotr
The way noti
is currently written, this is impossible because AppleScript doesn't expose the necessary APIs to allow this.
However, this might be possible in v2.
Where would you get the images from then? and this can easily be done in notify-send.
When this comment was first written, noti
looked very different. This is now possible.
On macOS: We'd probably need a path to an image file. Or just use some app icon. On Linux/FreeBSD: Also image path. Or, do you know if all distros ship some set of default icons?
The Image name for each icon are saved in .desktop
files in locations depending upon the Desktop environment used.
This file contains the executable command and the icon name. We can create a cache to store the icon path.
I would like this feature as well. Especially for Slack, it would be great if we could use something like NOTI_SLACK_ICON=':emoji:'