notifier: set app name when using notify-send

If a notification is sent while the screen is locked, it says
"notify-send" instead of "RuneLite".
This commit is contained in:
Jeremy Plsek
2022-02-13 00:00:32 -05:00
committed by GitHub
parent c81528b557
commit 9019d0833b

View File

@@ -314,6 +314,8 @@ public class Notifier
commands.add("notify-send");
commands.add(title);
commands.add(message);
commands.add("-a");
commands.add(SHELL_ESCAPE.escape(appName));
commands.add("-i");
commands.add(SHELL_ESCAPE.escape(notifyIconPath.toAbsolutePath().toString()));
commands.add("-u");