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

Add app name to default notifier #404

Merged
merged 1 commit into from
Jan 25, 2022
Merged

Add app name to default notifier #404

merged 1 commit into from
Jan 25, 2022

Conversation

sonic2kk
Copy link
Owner

With notify-send, the default notifier, the -a flag can be used to set the name of the application. This is set to the existing $PROGNAME. It is also possible to use an --app-name= syntax, but going with -a keeps in line with the existing -i syntax for adding the icon to the notification.

This flag is not mentioned in the manual for notify-send on my Arch Linux installations, but it is mention on this page and I can verify that the flag works. Discussion and testing on other distributions may be required to make sure this doesn't raise errors or unwanted behaviours.

Example of a game launch notification with this change on KDE Plasma:
Notification with -a flag on KDE Plasma

Alternatively, if this change is undesirable, steps for adding this flag manually should be included in the Notifier wiki page.

Closes #403.

With notify-send, the default notifier, the -a flag can be used to set the name of the application. This is set to $PROGNAME.
@frostworx
Copy link
Collaborator

Thanks for the fix!
For whatever reason the -a parameter doesn't have any effect on my Arch xfce4, but that is no reason to not merge it. :)

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

Successfully merging this pull request may close these issues.

Add app-name for KDE Plasma notifications
2 participants